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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009285/0.0009285, allocations: 76.08 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000942/0.000942, allocations: 145.1 kB / 24.54 MB, free: 24 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9453/0.9453, allocations: 173.3 MB / 201.1 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 179] 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=2000,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=2000,variableFilter="time|cylinder1.H|cylinder1.m|cylinder2.H|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.22e-07/9.22e-07, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.572e-05, allocations: 6.25 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00657/0.006586, allocations: 3.022 MB / 271 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.008315, allocations: 1.239 MB / 272.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.008438, allocations: 11.94 kB / 272.2 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.008755, allocations: 139.1 kB / 272.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.009082, allocations: 182.8 kB / 272.6 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.009395, allocations: 171.5 kB / 272.7 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.0098, allocations: 457.7 kB / 273.2 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.009913, allocations: 67.95 kB / 273.2 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.0101, allocations: 255.3 kB / 273.5 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.01026, allocations: 147.6 kB / 273.6 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.01029, allocations: 28 kB / 273.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.01037, allocations: 55.98 kB / 273.7 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.192e-05/0.01043, allocations: 83.67 kB / 273.8 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.01052, allocations: 127.7 kB / 273.9 MB, free: 460 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.0108, allocations: 314.8 kB / 274.2 MB, free: 144 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.0108, allocations: 0 / 274.2 MB, free: 144 kB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.0108, allocations: 3.938 kB / 274.2 MB, free: 140 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.0108, allocations: 0 / 274.2 MB, free: 140 kB / 250.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.0005876/0.01139, allocations: 0.7111 MB / 274.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.428e-05/0.01141, allocations: 8.922 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.01148, allocations: 64.7 kB / 275 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.01171, allocations: 264.4 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.01173, allocations: 20.88 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.01177, allocations: 28.38 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.0121, allocations: 0.4919 MB / 275.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.01211, allocations: 3.938 kB / 275.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.01213, allocations: 12 kB / 275.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.01214, allocations: 4 kB / 275.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.0123, allocations: 114.9 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007325/0.01303, allocations: 0.7343 MB / 276.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.01332, allocations: 196.3 kB / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.358e-05/0.0134, allocations: 72.14 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.01342, allocations: 8.281 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.01361, allocations: 234.3 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.332e-06/0.01361, allocations: 7.938 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.00136/0.01497, allocations: 0.9578 MB / 278.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.01503, allocations: 187.9 kB / 278.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.01526, allocations: 350.3 kB / 278.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.01529, allocations: 37.7 kB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.0154, allocations: 231.5 kB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/0.01548, allocations: 158.6 kB / 279.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-05/0.01555, allocations: 75.86 kB / 279.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.01568, allocations: 0.5196 MB / 279.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.707e-05/0.01576, allocations: 52.95 kB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.01592, allocations: 302.6 kB / 280 MB, free: 9.848 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.01612, allocations: 184.3 kB / 280.2 MB, free: 9.648 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01612, allocations: 8 kB / 280.2 MB, free: 9.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000315/0.01644, allocations: 297.3 kB / 280.5 MB, free: 9.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01645, allocations: 7.984 kB / 280.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01646, allocations: 3.938 kB / 280.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-05/0.01652, allocations: 19.69 kB / 280.5 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.01671, allocations: 87.89 kB / 280.6 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.01774, allocations: 1.732 MB / 282.4 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.637e-05/0.01784, allocations: 15.95 kB / 282.4 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.01785, allocations: 12 kB / 282.4 MB, free: 7.332 MB / 266.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 ($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.0001203/0.01797, allocations: 195.2 kB / 282.6 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.01802, allocations: 51.77 kB / 282.6 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.01836, allocations: 280.5 kB / 282.9 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01836, allocations: 8 kB / 282.9 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.01837, allocations: 0 / 282.9 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003651/0.01873, allocations: 0.6098 MB / 283.5 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006903/0.01942, allocations: 0.7302 MB / 284.2 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01942, allocations: 0 / 284.2 MB, free: 5.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.01961, allocations: 83.89 kB / 284.3 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.01961, allocations: 0 / 284.3 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.01963, allocations: 12.12 kB / 284.3 MB, free: 5.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.01963, allocations: 7.938 kB / 284.3 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01963, allocations: 0 / 284.3 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.02007, allocations: 0.5192 MB / 284.9 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.201e-05/0.02016, allocations: 67.7 kB / 284.9 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.02018, allocations: 8 kB / 284.9 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.02029, allocations: 23.92 kB / 285 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.02034, allocations: 19.95 kB / 285 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.02036, allocations: 20 kB / 285 MB, free: 4.492 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001526/0.02051, allocations: 239 kB / 285.2 MB, free: 4.258 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02051, allocations: 0 / 285.2 MB, free: 4.258 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.02076, allocations: 91.94 kB / 285.3 MB, free: 4.168 MB / 266.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 (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.0007916/0.02155, allocations: 407.7 kB / 285.7 MB, free: 3.906 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.02193, allocations: 362.9 kB / 286.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.02193, allocations: 0 / 286.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.02206, allocations: 123 kB / 286.2 MB, free: 3.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.02239, allocations: 97.52 kB / 286.3 MB, free: 3.309 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.02364, allocations: 0.8986 MB / 287.2 MB, free: 2.359 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.988e-05/0.02372, allocations: 105.8 kB / 287.3 MB, free: 2.238 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.02382, allocations: 47.25 kB / 287.3 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.02389, allocations: 32.5 kB / 287.4 MB, free: 2.16 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02389, allocations: 0 / 287.4 MB, free: 2.16 MB / 266.7 MB Notification: Performance of Templates: time 0.112/0.1359, allocations: 5.531 MB / 292.9 MB, free: 29.12 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0177026763558388]