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.001545/0.001545, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 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.001673/0.001673, allocations: 210.6 kB / 22.99 MB, free: 5.609 MB / 14.72 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 1.49/1.49, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001884/0.001884, allocations: 63.89 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2378, allocations: 53.33 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00448/0.2423, allocations: 3.057 MB / 432.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.2446, allocations: 1.433 MB / 434.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2447, allocations: 7.938 kB / 434.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.2451, allocations: 143.2 kB / 434.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004823/0.2456, allocations: 222.7 kB / 434.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.2459, allocations: 139.6 kB / 434.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000506/0.2464, allocations: 434.2 kB / 435.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.2466, allocations: 79.8 kB / 435.3 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.2468, allocations: 179.3 kB / 435.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.2471, allocations: 191.1 kB / 435.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.2471, allocations: 32 kB / 435.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.2472, allocations: 55.97 kB / 435.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.2473, allocations: 79.7 kB / 435.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.2475, allocations: 198.9 kB / 436 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005234/0.2481, allocations: 451.4 kB / 436.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2481, allocations: 0 / 436.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2481, allocations: 4 kB / 436.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.2481, allocations: 0 / 436.4 MB, free: 0.8672 MB / 334.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.001068/0.2491, allocations: 0.698 MB / 437.1 MB, free: 120 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2492, allocations: 8.031 kB / 437.1 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.2493, allocations: 48.66 kB / 437.2 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.2497, allocations: 320.8 kB / 437.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.2497, allocations: 24.88 kB / 437.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.2498, allocations: 24.38 kB / 437.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.2503, allocations: 299.4 kB / 437.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.2503, allocations: 4 kB / 437.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.2504, allocations: 15.94 kB / 437.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.2504, allocations: 4 kB / 437.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.2507, allocations: 182.1 kB / 438 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.2521, allocations: 0.8368 MB / 438.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/0.2527, allocations: 246.4 kB / 439.1 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.2528, allocations: 93.38 kB / 439.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.2529, allocations: 12.27 kB / 439.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003034/0.2532, allocations: 159.2 kB / 439.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.2532, allocations: 0 / 439.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00237/0.2555, allocations: 1.32 MB / 440.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.2557, allocations: 195.9 kB / 440.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.2561, allocations: 328.6 kB / 441.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.2561, allocations: 33.7 kB / 441.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.2562, allocations: 188.7 kB / 441.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.2563, allocations: 146.7 kB / 441.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.2565, allocations: 78.12 kB / 441.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2566, allocations: 346.8 kB / 442 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.2568, allocations: 92.83 kB / 442.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.2571, allocations: 177.2 kB / 442.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.2575, allocations: 250.2 kB / 442.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2575, allocations: 0 / 442.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000585/0.2581, allocations: 362.7 kB / 442.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2581, allocations: 4 kB / 442.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2581, allocations: 0 / 442.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.268e-05/0.2582, allocations: 24.84 kB / 442.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.2585, allocations: 87.89 kB / 443 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.2597, allocations: 1.383 MB / 444.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.2599, allocations: 19.95 kB / 444.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.2599, allocations: 12 kB / 444.4 MB, free: 8.344 MB / 350.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.0001913/0.2601, allocations: 169.9 kB / 444.5 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.2602, allocations: 39.77 kB / 444.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005916/0.2608, allocations: 334.5 kB / 444.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2608, allocations: 4 kB / 444.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2608, allocations: 4 kB / 444.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006774/0.2614, allocations: 0.6569 MB / 445.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.2626, allocations: 0.8537 MB / 446.4 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2626, allocations: 7.938 kB / 446.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.263, allocations: 75.91 kB / 446.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.263, allocations: 0 / 446.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.263, allocations: 15.97 kB / 446.5 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.263, allocations: 4 kB / 446.5 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.263, allocations: 128 / 446.5 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000803/0.2638, allocations: 0.5629 MB / 447.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.264, allocations: 132.9 kB / 447.2 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.264, allocations: 8 kB / 447.2 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.2642, allocations: 20 kB / 447.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.2643, allocations: 27.95 kB / 447.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.2643, allocations: 12 kB / 447.3 MB, free: 5.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002565/0.2646, allocations: 243.1 kB / 447.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2646, allocations: 0 / 447.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003785/0.265, allocations: 91.98 kB / 447.6 MB, free: 4.859 MB / 350.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 (40): * Single equations (assignments): 38 * 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.001448/0.2664, allocations: 421 kB / 448 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006499/0.2671, allocations: 362.1 kB / 448.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2671, allocations: 0 / 448.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.2673, allocations: 119.8 kB / 448.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.2678, allocations: 110.8 kB / 448.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.2695, allocations: 1.045 MB / 449.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.2699, allocations: 0.8001 MB / 450.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000159/0.2701, allocations: 51.25 kB / 450.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.2702, allocations: 35.44 kB / 450.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2702, allocations: 0 / 450.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of Templates: time 0.01091/0.2811, allocations: 5.477 MB / 456 MB, free: 12.58 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.590824279934168]