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.001469/0.001469, allocations: 110.6 kB / 17.73 MB, free: 5.344 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.001522/0.001522, allocations: 190.9 kB / 18.66 MB, free: 4.418 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.506/1.506, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001279/0.001279, allocations: 47.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1128, allocations: 46.61 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004644/0.1175, allocations: 2.991 MB / 378.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1197, allocations: 1.197 MB / 379.3 MB, free: 388 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.1199, allocations: 4 kB / 379.3 MB, free: 384 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005587/0.1205, allocations: 163.1 kB / 379.5 MB, free: 220 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000455/0.121, allocations: 186.8 kB / 379.7 MB, free: 32 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2578/0.3788, allocations: 142.8 kB / 379.8 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007634/0.3796, allocations: 439.8 kB / 380.2 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.3798, allocations: 109.7 kB / 380.3 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.3801, allocations: 178.1 kB / 380.5 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.3803, allocations: 195.2 kB / 380.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.657e-05/0.3804, allocations: 28.38 kB / 380.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.3806, allocations: 77.67 kB / 380.8 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3807, allocations: 80.61 kB / 380.9 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.3809, allocations: 192.9 kB / 381.1 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006588/0.3816, allocations: 460.3 kB / 381.5 MB, free: 9.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3816, allocations: 1.984 kB / 381.5 MB, free: 9.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3816, allocations: 0 / 381.5 MB, free: 9.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3816, allocations: 0 / 381.5 MB, free: 9.59 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.001174/0.3828, allocations: 0.6835 MB / 382.2 MB, free: 9.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.3829, allocations: 9.625 kB / 382.2 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.383, allocations: 48 kB / 382.3 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005594/0.3836, allocations: 322.8 kB / 382.6 MB, free: 8.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.3836, allocations: 22.19 kB / 382.6 MB, free: 8.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-05/0.3837, allocations: 25.61 kB / 382.6 MB, free: 8.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006406/0.3843, allocations: 293.9 kB / 382.9 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.3844, allocations: 4.812 kB / 382.9 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.3844, allocations: 11.14 kB / 382.9 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.3844, allocations: 12 kB / 382.9 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.3848, allocations: 179.9 kB / 383.1 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.3862, allocations: 0.8368 MB / 384 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.3868, allocations: 260.7 kB / 384.2 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.387, allocations: 98.73 kB / 384.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.387, allocations: 5.797 kB / 384.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003452/0.3874, allocations: 170.5 kB / 384.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.935e-06/0.3874, allocations: 0 / 384.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.002555/0.3899, allocations: 1.315 MB / 385.8 MB, free: 7.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.39, allocations: 189.2 kB / 386 MB, free: 7.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004571/0.3905, allocations: 346.8 kB / 386.3 MB, free: 7.098 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.3905, allocations: 37.36 kB / 386.4 MB, free: 7.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.3907, allocations: 189.5 kB / 386.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.3908, allocations: 136 kB / 386.7 MB, free: 6.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3909, allocations: 73.25 kB / 386.7 MB, free: 6.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3911, allocations: 352.9 kB / 387.1 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.3913, allocations: 87.3 kB / 387.2 MB, free: 6.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.3916, allocations: 183.8 kB / 387.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.392, allocations: 247.6 kB / 387.6 MB, free: 6.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.392, allocations: 1.125 kB / 387.6 MB, free: 6.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000607/0.3926, allocations: 358 kB / 387.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3927, allocations: 5.469 kB / 387.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3927, allocations: 5.625 kB / 388 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.3928, allocations: 21.41 kB / 388 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.3932, allocations: 90.83 kB / 388.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009064/0.3941, allocations: 1.387 MB / 389.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.3943, allocations: 22.94 kB / 389.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.3943, allocations: 15.17 kB / 389.5 MB, free: 4.523 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.0001764/0.3945, allocations: 172.9 kB / 389.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.3946, allocations: 40.94 kB / 389.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.945e-05/0.3947, allocations: 46.83 kB / 389.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3947, allocations: 4.25 kB / 389.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.3947, allocations: 0.75 kB / 389.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005701/0.3953, allocations: 0.6625 MB / 390.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.3964, allocations: 0.8557 MB / 391.3 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3964, allocations: 0.9062 kB / 391.3 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.3968, allocations: 82.75 kB / 391.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3968, allocations: 2.844 kB / 391.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.3968, allocations: 9.5 kB / 391.4 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3968, allocations: 2.781 kB / 391.4 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3968, allocations: 2.25 kB / 391.4 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/0.3975, allocations: 0.5556 MB / 391.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.3977, allocations: 135 kB / 392.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.3977, allocations: 8.906 kB / 392.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.398, allocations: 18.03 kB / 392.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.398, allocations: 29.5 kB / 392.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.3981, allocations: 9.875 kB / 392.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002469/0.3983, allocations: 255.4 kB / 392.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3983, allocations: 0 / 392.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004155/0.3987, allocations: 95.05 kB / 392.5 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.0009624/0.3997, allocations: 429.6 kB / 392.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006788/0.4004, allocations: 376.3 kB / 393.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4004, allocations: 0 / 393.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.4007, allocations: 133.8 kB / 393.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.4013, allocations: 102.4 kB / 393.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.4029, allocations: 1.028 MB / 394.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.4032, allocations: 0.8087 MB / 395.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000178/0.4034, allocations: 45.98 kB / 395.4 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.4035, allocations: 42.33 kB / 395.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.4035, allocations: 0 / 395.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of Templates: time 0.01202/0.4156, allocations: 5.316 MB / 400.7 MB, free: 15.75 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","/var/lib/jenkins/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