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/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 3.2.3+maint.om/package.mo", uses=false) 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 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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001337, allocations: 100.2 kB / 18.39 MB, free: 4.531 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.001483/0.001483, allocations: 188.3 kB / 19.33 MB, free: 3.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 55.91 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1166, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.006735/0.1233, allocations: 2.988 MB / 378.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.1265, allocations: 1.197 MB / 380 MB, free: 380 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000362/0.1269, allocations: 7.938 kB / 380 MB, free: 372 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007107/0.1277, allocations: 167.1 kB / 380.2 MB, free: 204 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008898/0.1286, allocations: 182.9 kB / 380.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.236/0.3646, allocations: 144.3 kB / 380.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008523/0.3655, allocations: 439.5 kB / 380.9 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.3658, allocations: 105.1 kB / 381 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.366, allocations: 184.1 kB / 381.2 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.3663, allocations: 195.2 kB / 381.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/0.3664, allocations: 28.88 kB / 381.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.3666, allocations: 70.95 kB / 381.5 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-05/0.3667, allocations: 90 kB / 381.6 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.3669, allocations: 188.3 kB / 381.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006085/0.3675, allocations: 466.2 kB / 382.2 MB, free: 9.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3675, allocations: 0 / 382.2 MB, free: 9.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3675, allocations: 0 / 382.2 MB, free: 9.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.3675, allocations: 0.9844 kB / 382.2 MB, free: 9.605 MB / 318.1 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.001086/0.3686, allocations: 0.6815 MB / 382.9 MB, free: 9.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3687, allocations: 13.47 kB / 382.9 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.3688, allocations: 45.84 kB / 382.9 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.3693, allocations: 319.7 kB / 383.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.3694, allocations: 20.91 kB / 383.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.3694, allocations: 24.72 kB / 383.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005992/0.37, allocations: 300.5 kB / 383.6 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.3701, allocations: 1.25 kB / 383.6 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.3701, allocations: 10.88 kB / 383.6 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.3701, allocations: 5.656 kB / 383.6 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003457/0.3705, allocations: 181.3 kB / 383.8 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.3719, allocations: 0.8332 MB / 384.6 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/0.3725, allocations: 258.5 kB / 384.9 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.3727, allocations: 100.1 kB / 385 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.3727, allocations: 8.516 kB / 385 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003082/0.373, allocations: 170.1 kB / 385.2 MB, free: 8.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.373, allocations: 0 / 385.2 MB, free: 8.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002219/0.3753, allocations: 1.312 MB / 386.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.3753, allocations: 195.3 kB / 386.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.3757, allocations: 350.4 kB / 387 MB, free: 7.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3758, allocations: 32.56 kB / 387 MB, free: 7.062 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3759, allocations: 187.9 kB / 387.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/0.376, allocations: 136.5 kB / 387.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3761, allocations: 74 kB / 387.4 MB, free: 6.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.3762, allocations: 352 kB / 387.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.3764, allocations: 90.59 kB / 387.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.3767, allocations: 179.5 kB / 388 MB, free: 6.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.377, allocations: 247.6 kB / 388.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3771, allocations: 1.125 kB / 388.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006009/0.3777, allocations: 355.7 kB / 388.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3777, allocations: 5.219 kB / 388.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3777, allocations: 2.344 kB / 388.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.3778, allocations: 25.12 kB / 388.6 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003542/0.3782, allocations: 92.12 kB / 388.7 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008602/0.3791, allocations: 1.387 MB / 390.1 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.3793, allocations: 23.38 kB / 390.1 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.3793, allocations: 14.8 kB / 390.2 MB, free: 4.527 MB / 318.1 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001946/0.3795, allocations: 174 kB / 390.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.3796, allocations: 36.17 kB / 390.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.191e-05/0.3797, allocations: 50.89 kB / 390.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3797, allocations: 4.312 kB / 390.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.3797, allocations: 2.25 kB / 390.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005566/0.3803, allocations: 0.6712 MB / 391.1 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.3814, allocations: 0.8378 MB / 391.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3814, allocations: 9.188 kB / 391.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.3818, allocations: 77.8 kB / 392 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/0.3818, allocations: 3.484 kB / 392 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.3818, allocations: 11.8 kB / 392 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.3818, allocations: 5.781 kB / 392 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3818, allocations: 1.188 kB / 392 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.3826, allocations: 0.554 MB / 392.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.3827, allocations: 134.3 kB / 392.7 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/0.3828, allocations: 14.08 kB / 392.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.383, allocations: 12.7 kB / 392.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.3831, allocations: 26.53 kB / 392.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.3832, allocations: 18.44 kB / 392.8 MB, free: 2.691 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.3834, allocations: 254.3 kB / 393 MB, free: 2.566 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3834, allocations: 0 / 393 MB, free: 2.566 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004537/0.3839, allocations: 95.59 kB / 393.1 MB, free: 2.551 MB / 318.1 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 (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.0009299/0.3848, allocations: 425.3 kB / 393.5 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006732/0.3855, allocations: 380.7 kB / 393.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3855, allocations: 1.219 kB / 393.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.3858, allocations: 133.4 kB / 394.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/0.3864, allocations: 102.3 kB / 394.2 MB, free: 1.957 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.3879, allocations: 1.062 MB / 395.2 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.3882, allocations: 0.8092 MB / 396 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3884, allocations: 40.53 kB / 396.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3884, allocations: 0 / 396.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of Templates: time 0.01089/0.3993, allocations: 5.761 MB / 401.8 MB, free: 15.37 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches