Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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: 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_4.0.0_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_4.0.0_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.001032/0.001032, allocations: 108 kB / 17.06 MB, free: 6.012 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.001005/0.001005, allocations: 192 kB / 18 MB, free: 5.098 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 35.94 kB / 351.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2589, allocations: 49.44 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004607/0.2635, allocations: 3.001 MB / 403.7 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.2657, allocations: 1.254 MB / 405 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.266, allocations: 7.938 kB / 405 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.2664, allocations: 143.2 kB / 405.1 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005579/0.267, allocations: 174.9 kB / 405.3 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.2675, allocations: 181.6 kB / 405.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.2681, allocations: 430.1 kB / 405.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.2683, allocations: 111.4 kB / 406 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.2686, allocations: 175.3 kB / 406.2 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.2688, allocations: 183.2 kB / 406.3 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.2689, allocations: 28 kB / 406.4 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.269, allocations: 56 kB / 406.4 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-05/0.2691, allocations: 91.61 kB / 406.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.2693, allocations: 187 kB / 406.7 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.2698, allocations: 443.5 kB / 407.1 MB, free: 2.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2699, allocations: 4 kB / 407.1 MB, free: 2.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.2699, allocations: 0 / 407.1 MB, free: 2.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.2699, allocations: 3.984 kB / 407.1 MB, free: 2.449 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.00102/0.2709, allocations: 0.6712 MB / 407.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.271, allocations: 15.88 kB / 407.8 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.2711, allocations: 44.47 kB / 407.9 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.2715, allocations: 323.8 kB / 408.2 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.2715, allocations: 16.94 kB / 408.2 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.2716, allocations: 32.12 kB / 408.2 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.2721, allocations: 299.1 kB / 408.5 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.2721, allocations: 3.906 kB / 408.5 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.2722, allocations: 12 kB / 408.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.2722, allocations: 11.98 kB / 408.6 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.2725, allocations: 174.1 kB / 408.7 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.2739, allocations: 0.8366 MB / 409.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.2744, allocations: 260 kB / 409.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.2746, allocations: 93.39 kB / 409.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.2746, allocations: 12.27 kB / 409.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.2749, allocations: 158.7 kB / 410.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.763e-06/0.2749, allocations: 4 kB / 410.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002281/0.2772, allocations: 1.306 MB / 411.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.576e-05/0.2773, allocations: 187.9 kB / 411.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.2777, allocations: 324.5 kB / 411.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.2777, allocations: 41.64 kB / 411.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.2778, allocations: 180.6 kB / 412.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.278, allocations: 141.9 kB / 412.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.2781, allocations: 78.14 kB / 412.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2782, allocations: 346.8 kB / 412.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.2784, allocations: 92.77 kB / 412.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.2787, allocations: 177.3 kB / 412.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.279, allocations: 250.2 kB / 413.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2791, allocations: 0 / 413.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005654/0.2796, allocations: 354.2 kB / 413.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2797, allocations: 8 kB / 413.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2797, allocations: 0 / 413.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.601e-05/0.2798, allocations: 20.84 kB / 413.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.2801, allocations: 91.89 kB / 413.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.2812, allocations: 1.386 MB / 415 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2814, allocations: 12 kB / 415 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.2814, allocations: 16 kB / 415 MB, free: 9.945 MB / 334.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.0002008/0.2816, allocations: 176 kB / 415.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.2817, allocations: 39.53 kB / 415.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.96e-05/0.2818, allocations: 43.94 kB / 415.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2818, allocations: 11.94 kB / 415.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2818, allocations: 3.938 kB / 415.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006001/0.2824, allocations: 0.6611 MB / 416 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.2835, allocations: 0.8452 MB / 416.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2836, allocations: 0 / 416.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003224/0.2839, allocations: 79.89 kB / 416.9 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2839, allocations: 4 kB / 416.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.2839, allocations: 8 kB / 416.9 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.2839, allocations: 0 / 416.9 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.284, allocations: 4 kB / 416.9 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007373/0.2847, allocations: 0.5424 MB / 417.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.2848, allocations: 136.7 kB / 417.6 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.2849, allocations: 8 kB / 417.6 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.2852, allocations: 23.98 kB / 417.6 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.2852, allocations: 19.97 kB / 417.6 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.2853, allocations: 16 kB / 417.6 MB, free: 7.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002386/0.2855, allocations: 239 kB / 417.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2855, allocations: 0 / 417.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004084/0.2859, allocations: 91.94 kB / 418 MB, free: 6.785 MB / 334.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.0009396/0.2869, allocations: 436.3 kB / 418.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006469/0.2875, allocations: 362.4 kB / 418.8 MB, free: 6.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.2876, allocations: 4 kB / 418.8 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.2878, allocations: 136 kB / 418.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.2884, allocations: 104.4 kB / 419 MB, free: 5.914 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.29, allocations: 1.026 MB / 420 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.2904, allocations: 0.8002 MB / 420.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.2905, allocations: 43.27 kB / 420.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.246e-05/0.2906, allocations: 31.44 kB / 420.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2906, allocations: 0 / 420.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of Templates: time 0.01068/0.3013, allocations: 5.309 MB / 426.2 MB, free: 14.71 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches