Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001102, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005064/0.006166, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001482/0.002579, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9553/0.9553, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09269/1.048, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.059e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002981/0.003002, allocations: 3.068 MB / 248.3 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.005026, allocations: 1.421 MB / 249.7 MB, free: 9.062 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.005184, allocations: 7.938 kB / 249.7 MB, free: 9.055 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.005512, allocations: 147.1 kB / 249.8 MB, free: 8.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.005925, allocations: 222.5 kB / 250 MB, free: 8.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.006212, allocations: 151.4 kB / 250.2 MB, free: 8.543 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004724/0.006684, allocations: 449.9 kB / 250.6 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.006823, allocations: 78.86 kB / 250.7 MB, free: 8.027 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.007142, allocations: 306.4 kB / 251 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.00733, allocations: 143.6 kB / 251.1 MB, free: 7.586 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.007368, allocations: 28 kB / 251.2 MB, free: 7.559 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.007474, allocations: 67.86 kB / 251.2 MB, free: 7.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.668e-05/0.007551, allocations: 59.75 kB / 251.3 MB, free: 7.434 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.054e-05/0.007641, allocations: 107.8 kB / 251.4 MB, free: 7.328 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.00796, allocations: 287 kB / 251.7 MB, free: 7.047 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.007972, allocations: 7.984 kB / 251.7 MB, free: 7.039 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.007973, allocations: 3.938 kB / 251.7 MB, free: 7.035 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.007985, allocations: 3.938 kB / 251.7 MB, free: 7.031 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.00073/0.008715, allocations: 0.664 MB / 252.4 MB, free: 6.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.008746, allocations: 8.625 kB / 252.4 MB, free: 6.332 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.008817, allocations: 52.89 kB / 252.4 MB, free: 6.281 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.009082, allocations: 237.6 kB / 252.7 MB, free: 6.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.009105, allocations: 16.88 kB / 252.7 MB, free: 6.004 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.009148, allocations: 28.38 kB / 252.7 MB, free: 5.977 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.009489, allocations: 473.5 kB / 253.2 MB, free: 5.434 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.009503, allocations: 4.141 kB / 253.2 MB, free: 5.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.009521, allocations: 16.31 kB / 253.2 MB, free: 5.414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.009529, allocations: 11.94 kB / 253.2 MB, free: 5.402 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.009642, allocations: 78.27 kB / 253.3 MB, free: 5.324 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007184/0.01036, allocations: 0.5374 MB / 253.8 MB, free: 4.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.01064, allocations: 198.5 kB / 254 MB, free: 4.547 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.01069, allocations: 53.91 kB / 254.1 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.01071, allocations: 4.281 kB / 254.1 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.0109, allocations: 231.4 kB / 254.3 MB, free: 4.227 MB / 250.7 MB Notification: Performance of pre-optimization done (n=34): time 3.537e-06/0.0109, allocations: 3.984 kB / 254.3 MB, free: 4.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.001234/0.01213, allocations: 0.8485 MB / 255.1 MB, free: 3.316 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.01216, allocations: 55.41 kB / 255.2 MB, free: 3.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.01235, allocations: 296.5 kB / 255.5 MB, free: 2.949 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.01238, allocations: 37.7 kB / 255.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.01245, allocations: 153.4 kB / 255.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/0.01253, allocations: 150.6 kB / 255.8 MB, free: 2.605 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.0126, allocations: 82.14 kB / 255.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.994e-05/0.01269, allocations: 346.7 kB / 256.2 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.048e-05/0.01274, allocations: 35.81 kB / 256.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.01287, allocations: 262.3 kB / 256.5 MB, free: 1.812 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.01301, allocations: 156.9 kB / 256.7 MB, free: 1.645 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.01301, allocations: 4 kB / 256.7 MB, free: 1.641 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002114/0.01322, allocations: 210 kB / 256.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.01323, allocations: 4 kB / 256.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01324, allocations: 4.125 kB / 256.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.356e-05/0.01329, allocations: 12.86 kB / 256.9 MB, free: 1.402 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.01357, allocations: 126.9 kB / 257 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006238/0.01419, allocations: 1.158 MB / 258.2 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.0143, allocations: 12 kB / 258.2 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.01431, allocations: 12 kB / 258.2 MB, free: 8 kB / 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.0001192/0.01443, allocations: 136.5 kB / 258.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.01447, allocations: 43.89 kB / 258.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.01468, allocations: 206.2 kB / 258.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01469, allocations: 4 kB / 258.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01469, allocations: 0 / 258.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002449/0.01493, allocations: 0.5398 MB / 259.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005914/0.01553, allocations: 0.5417 MB / 259.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01553, allocations: 0 / 259.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.01579, allocations: 103.9 kB / 259.8 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.119e-05/0.01586, allocations: 39.75 kB / 259.8 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.01587, allocations: 7.984 kB / 259.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.01588, allocations: 16.11 kB / 259.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01588, allocations: 3.938 kB / 259.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.01589, allocations: 7.938 kB / 259.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.01617, allocations: 418.5 kB / 260.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.0162, allocations: 15.98 kB / 260.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.01632, allocations: 12 kB / 260.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.01636, allocations: 27.89 kB / 260.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.01638, allocations: 19.92 kB / 260.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.485e-05/0.01647, allocations: 115.5 kB / 260.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01647, allocations: 4 kB / 260.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.01671, allocations: 99.92 kB / 260.6 MB, free: 13.48 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.00115/0.01786, allocations: 0.5425 MB / 261.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.01818, allocations: 283.8 kB / 261.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/0.01819, allocations: 8.312 kB / 261.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.01832, allocations: 121.4 kB / 261.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.01886, allocations: 0.8318 MB / 262.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.0222, allocations: 0.7707 MB / 263.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.111e-05/0.02227, allocations: 105.8 kB / 263.2 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.02239, allocations: 43.27 kB / 263.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.02264, allocations: 165.3 kB / 263.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of SimCode: time 1.513e-06/0.02264, allocations: 4 kB / 263.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of Templates: time 0.009093/0.03174, allocations: 6.816 MB / 270.2 MB, free: 3.93 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestCylinder/TestCylinder.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7428090386092663]