Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 104.5 kB / 16.62 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 189.9 kB / 17.55 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 51.17 kB / 300.2 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1314, allocations: 49.44 MB / 349.7 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003764/0.1352, allocations: 1.892 MB / 351.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1366, allocations: 0.6816 MB / 352.3 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.1367, allocations: 0 / 352.3 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.1369, allocations: 15.86 kB / 352.3 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.1371, allocations: 19.86 kB / 352.3 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.1378, allocations: 142.9 kB / 352.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.138, allocations: 147.7 kB / 352.6 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.1382, allocations: 57.34 kB / 352.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.1383, allocations: 63.72 kB / 352.7 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.1385, allocations: 59.69 kB / 352.8 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.1385, allocations: 12 kB / 352.8 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.1387, allocations: 55.95 kB / 352.8 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1388, allocations: 43.78 kB / 352.9 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1389, allocations: 75.53 kB / 352.9 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.1392, allocations: 183.4 kB / 353.1 MB, free: 1.195 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1392, allocations: 0 / 353.1 MB, free: 1.195 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1392, allocations: 4 kB / 353.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.1392, allocations: 0 / 353.1 MB, free: 1.191 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009503/0.1402, allocations: 483 kB / 353.6 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1403, allocations: 8.031 kB / 353.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.659e-05/0.1403, allocations: 46.73 kB / 353.7 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.1404, allocations: 16.75 kB / 353.7 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.1407, allocations: 243.8 kB / 353.9 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1408, allocations: 8.562 kB / 353.9 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1408, allocations: 11.94 kB / 353.9 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.1416, allocations: 325.5 kB / 354.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1416, allocations: 0 / 354.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.1416, allocations: 8 kB / 354.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1417, allocations: 0 / 354.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.1419, allocations: 95.8 kB / 354.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.1424, allocations: 337.6 kB / 354.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/0.143, allocations: 270.1 kB / 354.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.1432, allocations: 93.73 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007771/0.144, allocations: 0.5895 MB / 355.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.1441, allocations: 38.78 kB / 355.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.1441, allocations: 0 / 355.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.00064/0.1447, allocations: 244 kB / 355.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.1448, allocations: 118.8 kB / 356 MB, free: 13.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.145, allocations: 191.3 kB / 356.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.1451, allocations: 29.7 kB / 356.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.1451, allocations: 100.6 kB / 356.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.1452, allocations: 23.86 kB / 356.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.1453, allocations: 45.7 kB / 356.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1454, allocations: 326.8 kB / 356.7 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/0.1455, allocations: 39.97 kB / 356.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.1457, allocations: 161.1 kB / 356.9 MB, free: 12.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.1459, allocations: 208 kB / 357.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.146, allocations: 0 / 357.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003587/0.1463, allocations: 217.5 kB / 357.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1464, allocations: 8 kB / 357.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1464, allocations: 4 kB / 357.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1464, allocations: 4 kB / 357.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1465, allocations: 43.91 kB / 357.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1466, allocations: 11.94 kB / 357.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.1467, allocations: 23.84 kB / 357.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.1468, allocations: 12 kB / 357.4 MB, free: 12.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.1469, allocations: 151.5 kB / 357.6 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/0.1472, allocations: 161.3 kB / 357.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.1476, allocations: 179.4 kB / 357.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1477, allocations: 0 / 357.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1477, allocations: 0 / 357.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1477, allocations: 7.984 kB / 357.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.148, allocations: 233.3 kB / 358.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.148, allocations: 11.88 kB / 358.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.1482, allocations: 27.98 kB / 358.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1482, allocations: 0 / 358.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.1482, allocations: 8 kB / 358.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1482, allocations: 3.984 kB / 358.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1482, allocations: 0 / 358.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.1487, allocations: 299 kB / 358.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.1488, allocations: 108.9 kB / 358.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.1488, allocations: 8 kB / 358.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.149, allocations: 11.98 kB / 358.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.149, allocations: 0 / 358.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.149, allocations: 8 kB / 358.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1492, allocations: 143.4 kB / 358.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1492, allocations: 0 / 358.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003499/0.1495, allocations: 40 kB / 358.8 MB, free: 10.86 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009509/0.1505, allocations: 0.9295 MB / 359.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003508/0.1509, allocations: 147.7 kB / 359.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1509, allocations: 5.188 kB / 359.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.1509, allocations: 4 kB / 359.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/0.1516, allocations: 153.6 kB / 360 MB, free: 9.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.1533, allocations: 1.074 MB / 361.1 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.1536, allocations: 0.7399 MB / 361.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.518e-05/0.1537, allocations: 17.48 kB / 361.9 MB, free: 7.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.1538, allocations: 43.42 kB / 361.9 MB, free: 7.586 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1538, allocations: 3.938 kB / 361.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.1696, allocations: 4.008 MB / 365.9 MB, free: 3.75 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.1699, allocations: 241.2 kB / 366.2 MB, free: 3.484 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.356, allocations: 0 / 366.2 MB, free: 3.484 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches