Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001797/0.001797, allocations: 180.7 kB / 17.02 MB, free: 5.121 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.487/1.487, allocations: 205.4 MB / 223.1 MB, free: 9.043 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.000951/0.000951, allocations: 105 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002939, allocations: 4 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2752, allocations: 47.56 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.3855, allocations: 81.98 MB / 457.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.3857, allocations: 75.97 kB / 457.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02682/0.4126, allocations: 9.573 MB / 467.4 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4126, allocations: 0 / 467.4 MB, free: 5.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.82e-05/0.4127, allocations: 8 kB / 467.4 MB, free: 5.012 MB / 346.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.001075/0.4137, allocations: 0.6488 MB / 468.1 MB, free: 4.316 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4138, allocations: 8.031 kB / 468.1 MB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.4139, allocations: 47.47 kB / 468.1 MB, free: 4.262 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/0.4145, allocations: 311.5 kB / 468.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.4145, allocations: 20.55 kB / 468.5 MB, free: 3.902 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.4146, allocations: 27.91 kB / 468.5 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.4151, allocations: 295.1 kB / 468.8 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.4151, allocations: 0 / 468.8 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.4152, allocations: 15.98 kB / 468.8 MB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.4152, allocations: 4 kB / 468.8 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.4156, allocations: 186 kB / 469 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.4171, allocations: 0.8639 MB / 469.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/0.4178, allocations: 261.9 kB / 470.1 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.4178, allocations: 4.281 kB / 470.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003604/0.4182, allocations: 173.7 kB / 470.3 MB, free: 1.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 2.746e-06/0.4182, allocations: 0 / 470.3 MB, free: 1.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.002559/0.4208, allocations: 1.322 MB / 471.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/0.4209, allocations: 187.9 kB / 471.8 MB, free: 332 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.4213, allocations: 315.6 kB / 472.1 MB, free: 4 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.4214, allocations: 37.7 kB / 472.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.4215, allocations: 180.6 kB / 472.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.4217, allocations: 138 kB / 472.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.4217, allocations: 12 kB / 472.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.4219, allocations: 350.8 kB / 472.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.4221, allocations: 92.83 kB / 472.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.4224, allocations: 177.2 kB / 473.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.4226, allocations: 117.8 kB / 473.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4226, allocations: 0 / 473.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006071/0.4232, allocations: 358.6 kB / 473.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.4233, allocations: 8 kB / 473.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.4233, allocations: 0 / 473.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.331e-05/0.4234, allocations: 24.91 kB / 473.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.4238, allocations: 87.91 kB / 473.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.425, allocations: 1.299 MB / 474.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.4252, allocations: 8 kB / 474.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.4252, allocations: 16 kB / 475 MB, free: 12.93 MB / 362.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.000252/0.4255, allocations: 180.1 kB / 475.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.4256, allocations: 39.53 kB / 475.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000644/0.4262, allocations: 342 kB / 475.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.4262, allocations: 4.188 kB / 475.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.4262, allocations: 4 kB / 475.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006938/0.4269, allocations: 0.6683 MB / 476.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.4283, allocations: 0.88 MB / 477.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4283, allocations: 0 / 477.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.4287, allocations: 79.89 kB / 477.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4287, allocations: 4 kB / 477.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.4287, allocations: 8 kB / 477.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.4287, allocations: 7.938 kB / 477.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4288, allocations: 3.953 kB / 477.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007812/0.4295, allocations: 0.6064 MB / 477.8 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.4297, allocations: 140.8 kB / 477.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.4298, allocations: 23.94 kB / 477.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.43, allocations: 15.98 kB / 477.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.4301, allocations: 27.91 kB / 478 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.4301, allocations: 12 kB / 478 MB, free: 9.637 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002928/0.4304, allocations: 255 kB / 478.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4304, allocations: 0 / 478.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000471/0.4309, allocations: 120.4 kB / 478.4 MB, free: 9.273 MB / 362.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 (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.001075/0.432, allocations: 440.7 kB / 478.8 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000714/0.4327, allocations: 366.3 kB / 479.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.4327, allocations: 0 / 479.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.433, allocations: 151.9 kB / 479.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.4335, allocations: 77.5 kB / 479.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.4353, allocations: 1.269 MB / 480.6 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.4358, allocations: 0.808 MB / 481.4 MB, free: 6.121 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001955/0.436, allocations: 51.25 kB / 481.5 MB, free: 6.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.311e-05/0.4361, allocations: 35.44 kB / 481.5 MB, free: 6.035 MB / 362.7 MB Notification: Performance of SimCode: time 1.663e-06/0.4361, allocations: 0 / 481.5 MB, free: 6.035 MB / 362.7 MB Notification: Performance of Templates: time 0.01022/0.4463, allocations: 4.98 MB / 486.5 MB, free: 1.059 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/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_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches