Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 181.5 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 94.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.877e-05/2.886e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09078/0.09083, allocations: 47.57 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3938/0.4847, allocations: 81.88 MB / 451 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.485, allocations: 75.34 kB / 451 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0415/0.5265, allocations: 9.55 MB / 460.6 MB, free: 3.348 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5266, allocations: 0 / 460.6 MB, free: 3.348 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.426e-05/0.5266, allocations: 8 kB / 460.6 MB, free: 3.34 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001113/0.5277, allocations: 0.5853 MB / 461.2 MB, free: 2.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5278, allocations: 8.031 kB / 461.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.5279, allocations: 47.48 kB / 461.2 MB, free: 2.676 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000641/0.5286, allocations: 326.2 kB / 461.6 MB, free: 2.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.5286, allocations: 16.38 kB / 461.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.5287, allocations: 26.81 kB / 461.6 MB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006453/0.5294, allocations: 278.6 kB / 461.9 MB, free: 2.094 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.5294, allocations: 3.938 kB / 461.9 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.5295, allocations: 16.81 kB / 461.9 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.5295, allocations: 8 kB / 461.9 MB, free: 2.074 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004699/0.53, allocations: 177.2 kB / 462.1 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.532, allocations: 0.8638 MB / 462.9 MB, free: 1.168 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.5327, allocations: 255.5 kB / 463.2 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.533, allocations: 93.42 kB / 463.3 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.921e-05/0.5331, allocations: 8.234 kB / 463.3 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004048/0.5335, allocations: 161.8 kB / 463.4 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 3.997e-06/0.5335, allocations: 0 / 463.4 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.002989/0.5365, allocations: 1.144 MB / 464.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.5366, allocations: 187.9 kB / 464.8 MB, free: 15.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005626/0.5372, allocations: 318.7 kB / 465.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/0.5373, allocations: 37.7 kB / 465.1 MB, free: 14.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.5374, allocations: 231 kB / 465.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.5376, allocations: 138 kB / 465.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.5376, allocations: 4 kB / 465.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5378, allocations: 334.8 kB / 465.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.538, allocations: 88.81 kB / 465.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.5384, allocations: 181.9 kB / 466.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.5387, allocations: 104.3 kB / 466.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5387, allocations: 4 kB / 466.2 MB, free: 13.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000869/0.5396, allocations: 334.9 kB / 466.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.5397, allocations: 11.94 kB / 466.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5397, allocations: 0 / 466.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/0.5399, allocations: 24.8 kB / 466.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.5405, allocations: 87.89 kB / 466.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.5418, allocations: 1.296 MB / 467.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.5421, allocations: 12 kB / 467.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.5422, allocations: 16.16 kB / 467.9 MB, free: 11.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.5424, allocations: 133.8 kB / 468.1 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.961e-05/0.5425, allocations: 39.53 kB / 468.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009437/0.5434, allocations: 342 kB / 468.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.5435, allocations: 7.953 kB / 468.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5435, allocations: 0 / 468.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008102/0.5443, allocations: 0.6566 MB / 469.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.5461, allocations: 0.8799 MB / 470 MB, free: 9.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.5461, allocations: 0 / 470 MB, free: 9.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/0.5468, allocations: 75.91 kB / 470.1 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.5468, allocations: 8.109 kB / 470.1 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.5469, allocations: 12 kB / 470.1 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.5469, allocations: 4 kB / 470.1 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5469, allocations: 0 / 470.1 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.5481, allocations: 0.6024 MB / 470.7 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.5483, allocations: 140.8 kB / 470.8 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/0.5484, allocations: 11.98 kB / 470.8 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.5488, allocations: 19.95 kB / 470.9 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.5489, allocations: 27.97 kB / 470.9 MB, free: 8.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.5489, allocations: 11.98 kB / 470.9 MB, free: 8.574 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004263/0.5494, allocations: 254.2 kB / 471.1 MB, free: 8.324 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5494, allocations: 0 / 471.1 MB, free: 8.324 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005983/0.55, allocations: 116.5 kB / 471.3 MB, free: 8.211 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001162/0.5512, allocations: 394.3 kB / 471.6 MB, free: 7.828 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009019/0.5521, allocations: 366.3 kB / 472 MB, free: 7.457 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5521, allocations: 3.938 kB / 472 MB, free: 7.453 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.5524, allocations: 135.5 kB / 472.1 MB, free: 7.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000727/0.5532, allocations: 93.58 kB / 472.2 MB, free: 7.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.5553, allocations: 0.8422 MB / 473.1 MB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.5558, allocations: 0.8119 MB / 473.9 MB, free: 5.504 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.556, allocations: 39.42 kB / 473.9 MB, free: 5.465 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.556, allocations: 0 / 473.9 MB, free: 5.465 MB / 346.7 MB Notification: Performance of Templates: time 0.0131/0.5691, allocations: 5.677 MB / 479.6 MB, free: 15.78 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches