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.002469/0.002469, allocations: 95.86 kB / 20.96 MB, free: 3.438 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.002787/0.002787, allocations: 149.1 kB / 24.26 MB, free: 148 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 1.547/1.547, allocations: 173.3 MB / 200.8 MB, free: 9.316 MB / 186.7 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.202e-06/1.202e-06, allocations: 0 / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.387e-05, allocations: 6.312 kB / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004988/0.005012, allocations: 2.976 MB / 270.3 MB, free: 3.758 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.007509, allocations: 1.239 MB / 271.5 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.007673, allocations: 11.94 kB / 271.5 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005015/0.008175, allocations: 147 kB / 271.7 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000695/0.00887, allocations: 178.8 kB / 271.8 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.00931, allocations: 175.4 kB / 272 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005894/0.0099, allocations: 453.8 kB / 272.5 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.01008, allocations: 75.94 kB / 272.5 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/0.01042, allocations: 239.4 kB / 272.8 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.01071, allocations: 147.6 kB / 272.9 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.524e-05/0.01077, allocations: 28 kB / 272.9 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.01093, allocations: 63.91 kB / 273 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.01105, allocations: 83.67 kB / 273.1 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.01123, allocations: 123.7 kB / 273.2 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006266/0.01186, allocations: 454.4 kB / 273.6 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.01186, allocations: 0 / 273.6 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01186, allocations: 3.938 kB / 273.6 MB, free: 376 kB / 250.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.01187, allocations: 4 kB / 273.6 MB, free: 372 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.00124/0.01311, allocations: 0.7263 MB / 274.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.01315, allocations: 12.92 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.01329, allocations: 68.7 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.01374, allocations: 264.3 kB / 274.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.01377, allocations: 20.88 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.01384, allocations: 32.38 kB / 274.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007233/0.01456, allocations: 0.5303 MB / 275.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.01458, allocations: 3.938 kB / 275.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.01462, allocations: 15.98 kB / 275.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.01463, allocations: 8 kB / 275.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.015, allocations: 169.9 kB / 275.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.01654, allocations: 0.8281 MB / 276.3 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/0.01714, allocations: 259.9 kB / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.01733, allocations: 97.06 kB / 276.7 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.01737, allocations: 4.281 kB / 276.7 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004022/0.01777, allocations: 270.2 kB / 276.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.562e-06/0.01777, allocations: 0 / 276.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002524/0.0203, allocations: 1.13 MB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.02045, allocations: 191.9 kB / 278.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.02091, allocations: 402.2 kB / 278.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.02096, allocations: 33.7 kB / 278.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.02141, allocations: 251.4 kB / 278.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.02157, allocations: 154.8 kB / 279.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.02171, allocations: 91.86 kB / 279.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004388/0.02215, allocations: 0.5352 MB / 279.7 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.02235, allocations: 88.95 kB / 279.8 MB, free: 9.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.02275, allocations: 338.7 kB / 280.1 MB, free: 9.414 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/0.02322, allocations: 272.3 kB / 280.4 MB, free: 9.129 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.02322, allocations: 0 / 280.4 MB, free: 9.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006646/0.02389, allocations: 373.3 kB / 280.7 MB, free: 8.754 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.02391, allocations: 11.98 kB / 280.8 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.02392, allocations: 3.938 kB / 280.8 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.804e-05/0.02401, allocations: 23.69 kB / 280.8 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.02437, allocations: 87.83 kB / 280.9 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.02606, allocations: 1.783 MB / 282.7 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.02626, allocations: 19.92 kB / 282.7 MB, free: 6.695 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.02629, allocations: 16 kB / 282.7 MB, free: 6.68 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.0002311/0.02652, allocations: 208.5 kB / 282.9 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/0.02661, allocations: 51.77 kB / 282.9 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006861/0.0273, allocations: 344.4 kB / 283.3 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.0273, allocations: 4 kB / 283.3 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.0273, allocations: 0 / 283.3 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007711/0.02807, allocations: 0.6645 MB / 283.9 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.02946, allocations: 0.8438 MB / 284.8 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.02946, allocations: 4 kB / 284.8 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/0.0298, allocations: 71.91 kB / 284.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.02981, allocations: 4 kB / 284.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.02984, allocations: 15.98 kB / 284.9 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.02984, allocations: 3.938 kB / 284.9 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.02985, allocations: 4 kB / 284.9 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009623/0.03081, allocations: 0.6323 MB / 285.5 MB, free: 3.621 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.03095, allocations: 63.66 kB / 285.6 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.031, allocations: 8 kB / 285.6 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.03123, allocations: 19.94 kB / 285.6 MB, free: 3.531 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.03131, allocations: 31.94 kB / 285.6 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.03134, allocations: 8 kB / 285.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005321/0.03187, allocations: 271 kB / 285.9 MB, free: 3.227 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03187, allocations: 3.938 kB / 285.9 MB, free: 3.223 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004023/0.03228, allocations: 91.98 kB / 286 MB, free: 3.133 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.002916/0.03519, allocations: 456.4 kB / 286.5 MB, free: 2.863 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007598/0.03595, allocations: 435.5 kB / 286.9 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.03596, allocations: 0 / 286.9 MB, free: 2.418 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.03624, allocations: 155 kB / 287 MB, free: 2.262 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/0.03684, allocations: 106.4 kB / 287.1 MB, free: 2.156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.03856, allocations: 0.9026 MB / 288 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.03879, allocations: 195.7 kB / 288.2 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.03895, allocations: 43.27 kB / 288.3 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.846e-05/0.03905, allocations: 32.5 kB / 288.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03905, allocations: 0 / 288.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of Templates: time 0.1068/0.1458, allocations: 5.546 MB / 293.9 MB, free: 31.6 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","/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.678345010033809]