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.0009422/0.0009422, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001059/0.001059, allocations: 162.6 kB / 24.91 MB, free: 9.211 MB / 18.57 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.9432/0.9432, allocations: 177 MB / 205.2 MB, free: 5.43 MB / 186.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 2.455e-06/2.455e-06, allocations: 4 kB / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.193e-05, allocations: 2.312 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.002974/0.002996, allocations: 3.012 MB / 276.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.00471, allocations: 1.405 MB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.004836, allocations: 4 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.005201, allocations: 147.1 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.00561, allocations: 222.6 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.005859, allocations: 143.5 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.006237, allocations: 461.8 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.00637, allocations: 78.88 kB / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.006593, allocations: 259.3 kB / 279.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.006761, allocations: 139.6 kB / 279.2 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.845e-05/0.006799, allocations: 28 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.943e-05/0.006889, allocations: 63.98 kB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.006959, allocations: 87.61 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.744e-05/0.007056, allocations: 123.7 kB / 279.5 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.007358, allocations: 318.8 kB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.007361, allocations: 0 / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007361, allocations: 0 / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.007366, allocations: 0 / 279.8 MB, free: 10.74 MB / 266.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.0006142/0.007981, allocations: 0.594 MB / 280.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.008011, allocations: 15.92 kB / 280.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.008075, allocations: 52.89 kB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.008317, allocations: 229.6 kB / 280.7 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.00834, allocations: 16.88 kB / 280.7 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.008376, allocations: 28.38 kB / 280.7 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.008684, allocations: 481.5 kB / 281.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.008697, allocations: 4.141 kB / 281.2 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.008719, allocations: 20.36 kB / 281.2 MB, free: 9.188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.008726, allocations: 11.94 kB / 281.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.008833, allocations: 78.27 kB / 281.3 MB, free: 9.098 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006854/0.009519, allocations: 0.5257 MB / 281.8 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.009759, allocations: 203 kB / 282 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.695e-05/0.009816, allocations: 61.33 kB / 282.1 MB, free: 8.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.009839, allocations: 8.281 kB / 282.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.009998, allocations: 227.4 kB / 282.3 MB, free: 8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.562e-06/0.01, allocations: 0 / 282.3 MB, free: 8 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001137/0.01114, allocations: 0.8098 MB / 283.1 MB, free: 7.133 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.01121, allocations: 191.9 kB / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.0114, allocations: 296.5 kB / 283.6 MB, free: 6.598 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.01142, allocations: 37.7 kB / 283.7 MB, free: 6.555 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.01149, allocations: 153.4 kB / 283.8 MB, free: 6.402 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.956e-05/0.01156, allocations: 146.7 kB / 283.9 MB, free: 6.258 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.01163, allocations: 78.16 kB / 284 MB, free: 6.176 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.01171, allocations: 350.7 kB / 284.4 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.01176, allocations: 35.81 kB / 284.4 MB, free: 5.789 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.01188, allocations: 254.5 kB / 284.6 MB, free: 5.473 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.01203, allocations: 160.9 kB / 284.8 MB, free: 5.301 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01203, allocations: 0 / 284.8 MB, free: 5.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002109/0.01224, allocations: 221.7 kB / 285 MB, free: 5.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.01226, allocations: 8 kB / 285 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01226, allocations: 0 / 285 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.274e-05/0.01231, allocations: 12.86 kB / 285 MB, free: 5.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.0125, allocations: 91.83 kB / 285.1 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005816/0.01308, allocations: 1.166 MB / 286.3 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.571e-05/0.01317, allocations: 15.94 kB / 286.3 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.01319, allocations: 12 kB / 286.3 MB, free: 3.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 9.785e-05/0.01328, allocations: 136.6 kB / 286.5 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.01332, allocations: 35.97 kB / 286.5 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.01353, allocations: 206 kB / 286.7 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.01353, allocations: 8 kB / 286.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.01353, allocations: 4.062 kB / 286.7 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002442/0.01377, allocations: 0.532 MB / 287.2 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.01439, allocations: 0.5455 MB / 287.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01439, allocations: 0 / 287.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.01457, allocations: 75.91 kB / 287.9 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.01458, allocations: 4 kB / 287.9 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.01459, allocations: 4 kB / 287.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.01459, allocations: 12.11 kB / 287.9 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.0146, allocations: 4 kB / 287.9 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.0149, allocations: 426.2 kB / 288.3 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.01497, allocations: 39.75 kB / 288.3 MB, free: 1.473 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.01499, allocations: 8 kB / 288.3 MB, free: 1.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.0151, allocations: 23.92 kB / 288.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.01514, allocations: 23.95 kB / 288.4 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.01516, allocations: 12 kB / 288.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.865e-05/0.01524, allocations: 119.4 kB / 288.5 MB, free: 1.285 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01524, allocations: 0 / 288.5 MB, free: 1.285 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.01547, allocations: 95.94 kB / 288.6 MB, free: 1.191 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.00102/0.01649, allocations: 0.5177 MB / 289.1 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.01682, allocations: 288.4 kB / 289.4 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.01682, allocations: 256 / 289.4 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.845e-05/0.01691, allocations: 100.5 kB / 289.5 MB, free: 472 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.01719, allocations: 103.1 kB / 289.6 MB, free: 376 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.01832, allocations: 0.7973 MB / 290.4 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.504e-05/0.01839, allocations: 109.8 kB / 290.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.0185, allocations: 47.25 kB / 290.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.0187, allocations: 165.2 kB / 290.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.0187, allocations: 0 / 290.7 MB, free: 15.19 MB / 282.7 MB Notification: Performance of Templates: time 0.008169/0.02687, allocations: 6.022 MB / 296.7 MB, free: 9.301 MB / 282.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.700229613110423]