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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 168.3 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9412/0.9412, allocations: 158.6 MB / 187.2 MB, free: 2.559 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 251 MB, free: 3.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.022e-05, allocations: 2.312 kB / 251 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.003915/0.003935, allocations: 2.999 MB / 254 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.005605, allocations: 1.181 MB / 255.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.005748, allocations: 7.938 kB / 255.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.0062, allocations: 163 kB / 255.4 MB, free: 15.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004043/0.006604, allocations: 198.7 kB / 255.6 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.006893, allocations: 147.6 kB / 255.7 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.007326, allocations: 453.8 kB / 256.2 MB, free: 14.44 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.007481, allocations: 67.95 kB / 256.2 MB, free: 14.37 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.007717, allocations: 259.3 kB / 256.5 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.00793, allocations: 159.6 kB / 256.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.007976, allocations: 28 kB / 256.7 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.00809, allocations: 71.97 kB / 256.7 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.231e-05/0.008173, allocations: 83.69 kB / 256.8 MB, free: 13.78 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.008294, allocations: 127.6 kB / 256.9 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.008694, allocations: 322.8 kB / 257.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.008697, allocations: 0 / 257.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.008698, allocations: 0 / 257.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.008704, allocations: 0 / 257.3 MB, free: 13.34 MB / 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.0008098/0.009514, allocations: 0.7343 MB / 258 MB, free: 12.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.009552, allocations: 15.92 kB / 258 MB, free: 12.55 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.009655, allocations: 68.66 kB / 258.1 MB, free: 12.49 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.009964, allocations: 252.4 kB / 258.3 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.009993, allocations: 16.88 kB / 258.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/0.01005, allocations: 40.31 kB / 258.4 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/0.01073, allocations: 499.7 kB / 258.9 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.01075, allocations: 7.938 kB / 258.9 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.01077, allocations: 8 kB / 258.9 MB, free: 11.56 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.01079, allocations: 12 kB / 258.9 MB, free: 11.55 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.01098, allocations: 106.9 kB / 259 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009667/0.01195, allocations: 0.746 MB / 259.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.01231, allocations: 195.9 kB / 259.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.01242, allocations: 68.2 kB / 260 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.01244, allocations: 12.28 kB / 260 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.01267, allocations: 245.4 kB / 260.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.01267, allocations: 0 / 260.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001595/0.01427, allocations: 0.9619 MB / 261.2 MB, free: 9.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.01434, allocations: 183.9 kB / 261.4 MB, free: 8.848 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.01462, allocations: 370.3 kB / 261.8 MB, free: 8.469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.01464, allocations: 33.7 kB / 261.8 MB, free: 8.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01477, allocations: 243.5 kB / 262 MB, free: 8.188 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.103e-05/0.01486, allocations: 146.7 kB / 262.2 MB, free: 8.043 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/0.01496, allocations: 79.84 kB / 262.2 MB, free: 7.953 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.01511, allocations: 0.5196 MB / 262.8 MB, free: 7.422 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/0.0152, allocations: 52.97 kB / 262.8 MB, free: 7.371 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.01541, allocations: 294.7 kB / 263.1 MB, free: 7.008 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.01566, allocations: 196.3 kB / 263.3 MB, free: 6.797 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01566, allocations: 0 / 263.3 MB, free: 6.797 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003884/0.01605, allocations: 301.5 kB / 263.6 MB, free: 6.492 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.01606, allocations: 6.969 kB / 263.6 MB, free: 6.488 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.01607, allocations: 7.938 kB / 263.6 MB, free: 6.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.508e-05/0.01615, allocations: 23.61 kB / 263.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.0164, allocations: 87.91 kB / 263.7 MB, free: 6.367 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009024/0.0173, allocations: 1.732 MB / 265.4 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.01742, allocations: 12 kB / 265.5 MB, free: 4.504 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.01744, allocations: 12 kB / 265.5 MB, free: 4.492 MB / 250.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.0001218/0.01756, allocations: 184.5 kB / 265.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002708/0.01783, allocations: 55.89 kB / 265.7 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.01822, allocations: 292.5 kB / 266 MB, free: 3.945 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01822, allocations: 4 kB / 266 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01822, allocations: 0 / 266 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004127/0.01863, allocations: 0.6061 MB / 266.6 MB, free: 3.23 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007991/0.01943, allocations: 0.7461 MB / 267.3 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.01944, allocations: 4 kB / 267.4 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.01969, allocations: 84.02 kB / 267.4 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.01969, allocations: 4 kB / 267.4 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.01971, allocations: 8.062 kB / 267.4 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.01972, allocations: 7.938 kB / 267.5 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.01972, allocations: 4 kB / 267.5 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.02025, allocations: 0.5271 MB / 268 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-05/0.02034, allocations: 59.72 kB / 268 MB, free: 1.691 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.02038, allocations: 12 kB / 268.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.02053, allocations: 15.94 kB / 268.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.02058, allocations: 31.94 kB / 268.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.02061, allocations: 16 kB / 268.1 MB, free: 1.617 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.02078, allocations: 243 kB / 268.4 MB, free: 1.383 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02078, allocations: 4 kB / 268.4 MB, free: 1.379 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003507/0.02113, allocations: 88 kB / 268.4 MB, free: 1.293 MB / 250.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.0009323/0.02206, allocations: 396.8 kB / 268.8 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004647/0.02253, allocations: 373.8 kB / 269.2 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.02253, allocations: 7.938 kB / 269.2 MB, free: 0.543 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.02268, allocations: 112 kB / 269.3 MB, free: 440 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.02313, allocations: 112.9 kB / 269.4 MB, free: 328 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.02459, allocations: 0.8906 MB / 270.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.878e-05/0.02467, allocations: 113.7 kB / 270.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.02479, allocations: 43.27 kB / 270.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.02486, allocations: 36.48 kB / 270.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of SimCode: time 1.011e-06/0.02486, allocations: 0 / 270.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of Templates: time 0.009241/0.0341, allocations: 5.859 MB / 276.4 MB, free: 9.297 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9022884387522936]