Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001326/0.001326, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001404/0.001404, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 325 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.35e-05, allocations: 9.594 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.004477/0.004501, allocations: 2.832 MB / 327.9 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.007171, allocations: 1.35 MB / 329.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.00742, allocations: 8.562 kB / 329.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.007934, allocations: 139.6 kB / 329.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006833/0.008618, allocations: 225.9 kB / 329.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.00901, allocations: 145.2 kB / 329.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006751/0.009685, allocations: 457.2 kB / 330.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.00987, allocations: 75.88 kB / 330.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.01031, allocations: 253.5 kB / 330.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.01064, allocations: 150 kB / 330.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.756e-05/0.01071, allocations: 29.75 kB / 330.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.01087, allocations: 53.98 kB / 330.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.01099, allocations: 87.72 kB / 330.8 MB, free: 13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.01117, allocations: 127.7 kB / 331 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000597/0.01177, allocations: 460.2 kB / 331.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.01177, allocations: 1.125 kB / 331.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01177, allocations: 0 / 331.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.01179, allocations: 0 / 331.4 MB, free: 12.62 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.001108/0.0129, allocations: 0.6098 MB / 332 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.01293, allocations: 13.08 kB / 332 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.01304, allocations: 51.56 kB / 332.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.01348, allocations: 258.9 kB / 332.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.0135, allocations: 18.97 kB / 332.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.01356, allocations: 28.98 kB / 332.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.01423, allocations: 0.5129 MB / 332.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.01425, allocations: 6.125 kB / 332.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.01428, allocations: 15.25 kB / 332.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.01429, allocations: 9.406 kB / 332.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.01464, allocations: 175.7 kB / 333.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.01595, allocations: 0.6977 MB / 333.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/0.01652, allocations: 246.7 kB / 334 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.0167, allocations: 94.94 kB / 334.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.01673, allocations: 8.844 kB / 334.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003632/0.01709, allocations: 265.5 kB / 334.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.01709, allocations: 0 / 334.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002419/0.01951, allocations: 1.106 MB / 335.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.01963, allocations: 185.6 kB / 335.7 MB, free: 9.328 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.02, allocations: 342.2 kB / 336 MB, free: 9.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.02004, allocations: 32.92 kB / 336 MB, free: 9.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.02019, allocations: 189.7 kB / 336.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.02032, allocations: 147.5 kB / 336.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.02043, allocations: 71.64 kB / 336.4 MB, free: 8.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.0206, allocations: 348.2 kB / 336.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.02079, allocations: 93.23 kB / 336.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.02113, allocations: 305.9 kB / 337.2 MB, free: 8.051 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.02156, allocations: 255.1 kB / 337.4 MB, free: 7.906 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.02156, allocations: 4.062 kB / 337.4 MB, free: 7.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006342/0.0222, allocations: 361.1 kB / 337.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.02221, allocations: 5.875 kB / 337.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.02222, allocations: 5.125 kB / 337.8 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.026e-05/0.02231, allocations: 22.5 kB / 337.8 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.02265, allocations: 90.59 kB / 337.9 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.02379, allocations: 1.254 MB / 339.2 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.024, allocations: 22.7 kB / 339.2 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.02402, allocations: 13.75 kB / 339.2 MB, free: 6.375 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.0001942/0.02422, allocations: 165.7 kB / 339.3 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/0.02429, allocations: 44.09 kB / 339.4 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.02494, allocations: 342.1 kB / 339.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.02494, allocations: 4 kB / 339.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.02494, allocations: 0 / 339.7 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007489/0.02569, allocations: 0.6722 MB / 340.4 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.02689, allocations: 0.7355 MB / 341.1 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.02689, allocations: 4 kB / 341.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.02725, allocations: 80.03 kB / 341.2 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.02725, allocations: 4 kB / 341.2 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.02728, allocations: 11.98 kB / 341.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.02729, allocations: 3.938 kB / 341.2 MB, free: 4.262 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.02729, allocations: 7.938 kB / 341.2 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.02813, allocations: 0.5432 MB / 341.8 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.02826, allocations: 63.78 kB / 341.9 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.02832, allocations: 12.12 kB / 341.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.02856, allocations: 31.81 kB / 341.9 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.02862, allocations: 31.89 kB / 341.9 MB, free: 3.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.02866, allocations: 12 kB / 341.9 MB, free: 3.535 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000262/0.02892, allocations: 239.1 kB / 342.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02892, allocations: 0 / 342.2 MB, free: 3.301 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.02934, allocations: 99.98 kB / 342.3 MB, free: 3.199 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.001652/0.031, allocations: 450.9 kB / 342.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006653/0.03166, allocations: 366.5 kB / 343.1 MB, free: 2.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.03167, allocations: 4 kB / 343.1 MB, free: 2.559 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.03191, allocations: 128.1 kB / 343.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.03249, allocations: 92.09 kB / 343.3 MB, free: 2.348 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.03406, allocations: 0.8975 MB / 344.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.03428, allocations: 203.5 kB / 344.4 MB, free: 1.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.03443, allocations: 47.25 kB / 344.4 MB, free: 1.148 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.325e-05/0.03452, allocations: 40.5 kB / 344.5 MB, free: 1.109 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.03452, allocations: 0 / 344.5 MB, free: 1.109 MB / 302.1 MB Notification: Performance of Templates: time 0.01172/0.04624, allocations: 5.525 MB / 350 MB, free: 11.71 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.3683395981788635]