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.002615/0.00262, allocations: 182.7 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.278/3.278, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.00182/0.00182, allocations: 101.1 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006624/0.0006625, allocations: 11.98 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5177/0.5184, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.006554/0.525, allocations: 2.421 MB / 376.9 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004278/0.5293, allocations: 1.063 MB / 378 MB, free: 42.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005723/0.53, allocations: 11.25 kB / 378 MB, free: 42.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.531, allocations: 137.6 kB / 378.2 MB, free: 42.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.5325, allocations: 184.9 kB / 378.3 MB, free: 42.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.5336, allocations: 120.6 kB / 378.5 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.5349, allocations: 299.9 kB / 378.7 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003958/0.5354, allocations: 85.17 kB / 378.8 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005567/0.536, allocations: 151.6 kB / 379 MB, free: 42.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004967/0.5365, allocations: 162.4 kB / 379.1 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.5367, allocations: 16.69 kB / 379.2 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.5371, allocations: 40.89 kB / 379.2 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.5373, allocations: 72.42 kB / 379.3 MB, free: 41.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.5375, allocations: 90.77 kB / 379.4 MB, free: 41.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000944/0.5385, allocations: 331 kB / 379.7 MB, free: 41.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.5386, allocations: 1.406 kB / 379.7 MB, free: 41.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.988e-06/0.5386, allocations: 0 / 379.7 MB, free: 41.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.5386, allocations: 0 / 379.7 MB, free: 41.62 MB / 298.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.001999/0.5406, allocations: 0.6202 MB / 380.3 MB, free: 41.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/0.5407, allocations: 9.281 kB / 380.3 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.541, allocations: 45.98 kB / 380.3 MB, free: 41.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008851/0.5419, allocations: 307.9 kB / 380.6 MB, free: 40.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/0.542, allocations: 18.44 kB / 380.7 MB, free: 40.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.5422, allocations: 24.38 kB / 380.7 MB, free: 40.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.5434, allocations: 293.3 kB / 381 MB, free: 40.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.649e-05/0.5435, allocations: 5.281 kB / 381 MB, free: 40.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/0.5436, allocations: 10.75 kB / 381 MB, free: 40.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.5437, allocations: 5.375 kB / 381 MB, free: 40.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008667/0.5445, allocations: 183.3 kB / 381.2 MB, free: 40.42 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003384/0.548, allocations: 0.8388 MB / 382 MB, free: 39.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.5494, allocations: 254.6 kB / 382.3 MB, free: 39.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.517e-05/0.5495, allocations: 7.828 kB / 382.3 MB, free: 39.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007522/0.5503, allocations: 168.1 kB / 382.4 MB, free: 39.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=34): time 6.182e-06/0.5503, allocations: 0 / 382.4 MB, free: 39.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.005796/0.5561, allocations: 1.309 MB / 383.7 MB, free: 38.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.5563, allocations: 188.2 kB / 383.9 MB, free: 38.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009323/0.5573, allocations: 339.2 kB / 384.3 MB, free: 38.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.5574, allocations: 36.98 kB / 384.3 MB, free: 38.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.5577, allocations: 232.9 kB / 384.5 MB, free: 37.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.5579, allocations: 134.9 kB / 384.7 MB, free: 37.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.558, allocations: 10.12 kB / 384.7 MB, free: 37.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5581, allocations: 333.7 kB / 385 MB, free: 37.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.5586, allocations: 86.88 kB / 385.1 MB, free: 37.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006147/0.5593, allocations: 175 kB / 385.2 MB, free: 37.17 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005787/0.5599, allocations: 109.5 kB / 385.4 MB, free: 37.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.5599, allocations: 4.906 kB / 385.4 MB, free: 37.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001494/0.5615, allocations: 330.1 kB / 385.7 MB, free: 36.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.5616, allocations: 4.906 kB / 385.7 MB, free: 36.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.5616, allocations: 0.9688 kB / 385.7 MB, free: 36.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.5618, allocations: 23.52 kB / 385.7 MB, free: 36.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.563, allocations: 93.55 kB / 385.8 MB, free: 36.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.565, allocations: 1.3 MB / 387.1 MB, free: 35.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007165/0.5658, allocations: 14.44 kB / 387.1 MB, free: 35.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.681e-05/0.5659, allocations: 11.03 kB / 387.1 MB, free: 35.54 MB / 298.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 () * Number of clocked 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.0005447/0.5665, allocations: 171.3 kB / 387.3 MB, free: 35.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.5667, allocations: 39.56 kB / 387.3 MB, free: 35.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.5669, allocations: 45.7 kB / 387.4 MB, free: 35.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.5669, allocations: 4.125 kB / 387.4 MB, free: 35.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.567, allocations: 1.062 kB / 387.4 MB, free: 35.33 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/0.5683, allocations: 0.6607 MB / 388 MB, free: 34.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.5712, allocations: 0.8406 MB / 388.9 MB, free: 33.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.5712, allocations: 12.19 kB / 388.9 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.5723, allocations: 79.89 kB / 389 MB, free: 33.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/0.5723, allocations: 0 / 389 MB, free: 33.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-05/0.5724, allocations: 8 kB / 389 MB, free: 33.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/0.5724, allocations: 4 kB / 389 MB, free: 33.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.5725, allocations: 7.875 kB / 389 MB, free: 33.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.5743, allocations: 0.5876 MB / 389.6 MB, free: 32.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.5748, allocations: 136.7 kB / 389.7 MB, free: 32.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.5749, allocations: 11.94 kB / 389.7 MB, free: 32.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006499/0.5756, allocations: 27.98 kB / 389.8 MB, free: 32.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.5758, allocations: 27.91 kB / 389.8 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.675e-05/0.5759, allocations: 8 kB / 389.8 MB, free: 32.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005498/0.5764, allocations: 251 kB / 390 MB, free: 32.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.82e-07/0.5765, allocations: 0 / 390 MB, free: 32.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001053/0.5775, allocations: 92 kB / 390.1 MB, free: 32.43 MB / 298.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * 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.001793/0.5794, allocations: 431.4 kB / 390.5 MB, free: 32.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.5808, allocations: 358.4 kB / 390.9 MB, free: 31.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.5808, allocations: 0 / 390.9 MB, free: 31.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005819/0.5814, allocations: 139.6 kB / 391 MB, free: 31.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.5827, allocations: 95.23 kB / 391.1 MB, free: 31.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.5868, allocations: 1.273 MB / 392.4 MB, free: 30.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.5874, allocations: 0.8119 MB / 393.2 MB, free: 29.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.5877, allocations: 35.42 kB / 393.2 MB, free: 29.25 MB / 298.7 MB Notification: Performance of SimCode: time 1.673e-06/0.5877, allocations: 0 / 393.2 MB, free: 29.25 MB / 298.7 MB Notification: Performance of Templates: time 0.02015/0.6078, allocations: 5.48 MB / 398.7 MB, free: 23.77 MB / 298.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