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.001895/0.001895, allocations: 81.81 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002197/0.002197, allocations: 149.7 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.431/1.431, allocations: 173.3 MB / 200.4 MB, free: 12.9 MB / 190.1 MB " [Timeout remaining time 178] 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 1.433e-06/1.433e-06, allocations: 0 / 318.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.944e-05, allocations: 2.281 kB / 318.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003727/0.003756, allocations: 2.792 MB / 321.7 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.005753, allocations: 1.209 MB / 322.9 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.005912, allocations: 4.781 kB / 322.9 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.006387, allocations: 148.9 kB / 323.1 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004663/0.006854, allocations: 184.4 kB / 323.2 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.007288, allocations: 168.2 kB / 323.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.007817, allocations: 461.5 kB / 323.9 MB, free: 412 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.007997, allocations: 80.47 kB / 323.9 MB, free: 368 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.008283, allocations: 252.8 kB / 324.2 MB, free: 264 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.008516, allocations: 144.8 kB / 324.3 MB, free: 220 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.711e-05/0.008574, allocations: 28.88 kB / 324.4 MB, free: 220 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.008706, allocations: 61.95 kB / 324.4 MB, free: 208 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.008802, allocations: 91.91 kB / 324.5 MB, free: 144 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.008948, allocations: 116.3 kB / 324.6 MB, free: 96 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006156/0.009563, allocations: 452 kB / 325.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.009568, allocations: 0 / 325.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.009569, allocations: 0 / 325.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.009582, allocations: 0 / 325.1 MB, free: 15.92 MB / 302.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.001143/0.01073, allocations: 0.6077 MB / 325.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.01076, allocations: 11.05 kB / 325.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.01086, allocations: 47 kB / 325.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.01137, allocations: 257.6 kB / 326 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.0114, allocations: 14.75 kB / 326 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.01146, allocations: 28.91 kB / 326 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.01218, allocations: 0.5178 MB / 326.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.0122, allocations: 5.672 kB / 326.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.01224, allocations: 11.41 kB / 326.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.01225, allocations: 6.781 kB / 326.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.01263, allocations: 178.9 kB / 326.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.014, allocations: 0.6933 MB / 327.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006033/0.0146, allocations: 252.1 kB / 327.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.01479, allocations: 88.69 kB / 327.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.01482, allocations: 4.594 kB / 327.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000402/0.01522, allocations: 272.4 kB / 328 MB, free: 13.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.863e-06/0.01522, allocations: 0 / 328 MB, free: 13.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002582/0.01781, allocations: 1.101 MB / 329.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.01793, allocations: 186 kB / 329.3 MB, free: 13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.01834, allocations: 323.9 kB / 329.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.01839, allocations: 32.89 kB / 329.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.01859, allocations: 190.4 kB / 329.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.01872, allocations: 142 kB / 330 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.01886, allocations: 77.28 kB / 330.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.01905, allocations: 347.5 kB / 330.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.01925, allocations: 91.8 kB / 330.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.01964, allocations: 315.2 kB / 330.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.02008, allocations: 251 kB / 331 MB, free: 11.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.02008, allocations: 0 / 331 MB, free: 11.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006249/0.02071, allocations: 348.5 kB / 331.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.02072, allocations: 6.844 kB / 331.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.02073, allocations: 9.672 kB / 331.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.43e-05/0.02083, allocations: 23.39 kB / 331.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.02118, allocations: 93.8 kB / 331.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.0224, allocations: 1.259 MB / 332.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.02261, allocations: 15.81 kB / 332.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.02264, allocations: 25.45 kB / 332.8 MB, free: 10.21 MB / 302.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.0002261/0.02287, allocations: 172.2 kB / 333 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/0.02294, allocations: 39.17 kB / 333 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/0.02366, allocations: 349.9 kB / 333.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.02367, allocations: 5.156 kB / 333.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.02367, allocations: 1.031 kB / 333.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007813/0.02445, allocations: 0.659 MB / 334 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.02576, allocations: 0.7392 MB / 334.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.02577, allocations: 1.703 kB / 334.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.02611, allocations: 74.53 kB / 334.8 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.02611, allocations: 2.406 kB / 334.8 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.02615, allocations: 13.89 kB / 334.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.02615, allocations: 6.062 kB / 334.9 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.02615, allocations: 3.141 kB / 334.9 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000876/0.02703, allocations: 0.5534 MB / 335.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.02719, allocations: 61.33 kB / 335.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.02725, allocations: 9.234 kB / 335.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.02749, allocations: 21.89 kB / 335.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.02756, allocations: 27.05 kB / 335.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.0276, allocations: 11.06 kB / 335.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002755/0.02787, allocations: 237.1 kB / 335.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02787, allocations: 0 / 335.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004439/0.02832, allocations: 96 kB / 335.9 MB, free: 8.254 MB / 302.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 (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.001779/0.03009, allocations: 456.7 kB / 336.3 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008102/0.0309, allocations: 365.1 kB / 336.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.03091, allocations: 1.375 kB / 336.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.03118, allocations: 127.5 kB / 336.8 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/0.03179, allocations: 99.17 kB / 336.9 MB, free: 7.766 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.03346, allocations: 0.8797 MB / 337.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.03366, allocations: 199.2 kB / 338 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.03383, allocations: 51.73 kB / 338 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.897e-05/0.03392, allocations: 33.31 kB / 338.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.03392, allocations: 0 / 338.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of Templates: time 0.01222/0.04614, allocations: 5.485 MB / 343.5 MB, free: 2.574 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.603527057915926]