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.00191/0.00191, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002009/0.002009, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.529/1.529, allocations: 177 MB / 204.4 MB, free: 5.602 MB / 186.7 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 1.954e-06/1.954e-06, allocations: 0 / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.84e-05, allocations: 2.312 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.005454/0.005483, allocations: 2.998 MB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.008286, allocations: 1.374 MB / 276.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.008445, allocations: 4 kB / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004754/0.00892, allocations: 147.1 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005666/0.009487, allocations: 222.5 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.009825, allocations: 147.4 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006043/0.01043, allocations: 461.6 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.01061, allocations: 72.3 kB / 277.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.01098, allocations: 255.3 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.01126, allocations: 147.6 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.148e-05/0.01133, allocations: 28 kB / 278 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.01148, allocations: 63.92 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.0116, allocations: 83.67 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.01179, allocations: 135.6 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000671/0.01246, allocations: 454.4 kB / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.01246, allocations: 0 / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01246, allocations: 0 / 278.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.01247, allocations: 0 / 278.7 MB, free: 11.23 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.001262/0.01373, allocations: 0.7379 MB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.01377, allocations: 15.98 kB / 279.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.01391, allocations: 68.66 kB / 279.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006841/0.01459, allocations: 260.5 kB / 279.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.01462, allocations: 20.81 kB / 279.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.01469, allocations: 28.38 kB / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007499/0.01544, allocations: 0.5381 MB / 280.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.01546, allocations: 192 / 280.4 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.01549, allocations: 12.38 kB / 280.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.0155, allocations: 7.938 kB / 280.4 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003676/0.01587, allocations: 169.9 kB / 280.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.01746, allocations: 0.8319 MB / 281.4 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000608/0.01806, allocations: 256.4 kB / 281.7 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.01827, allocations: 92.78 kB / 281.7 MB, free: 8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.0183, allocations: 8.281 kB / 281.7 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004182/0.01872, allocations: 282.2 kB / 282 MB, free: 7.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.714e-06/0.01872, allocations: 0 / 282 MB, free: 7.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002591/0.02131, allocations: 1.125 MB / 283.1 MB, free: 6.488 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.02146, allocations: 199.8 kB / 283.3 MB, free: 6.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.02194, allocations: 402.3 kB / 283.7 MB, free: 5.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.02198, allocations: 33.7 kB / 283.8 MB, free: 5.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.02221, allocations: 251.5 kB / 284 MB, free: 5.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.02237, allocations: 150.8 kB / 284.2 MB, free: 5.402 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.02252, allocations: 91.84 kB / 284.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003318/0.02286, allocations: 0.5391 MB / 284.8 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.02305, allocations: 84.97 kB / 284.9 MB, free: 4.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/0.02348, allocations: 346.6 kB / 285.2 MB, free: 4.254 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/0.02397, allocations: 272.3 kB / 285.5 MB, free: 3.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.02397, allocations: 0 / 285.5 MB, free: 3.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006858/0.02465, allocations: 377.3 kB / 285.8 MB, free: 3.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.02467, allocations: 4 kB / 285.9 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.02468, allocations: 4 kB / 285.9 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.807e-05/0.02477, allocations: 23.67 kB / 285.9 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/0.02515, allocations: 95.83 kB / 286 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.02701, allocations: 1.787 MB / 287.8 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.02721, allocations: 16 kB / 287.8 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.02724, allocations: 8 kB / 287.8 MB, free: 1.527 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.0002282/0.02746, allocations: 208.5 kB / 288 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.884e-05/0.02756, allocations: 55.7 kB / 288 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006881/0.02825, allocations: 336.9 kB / 288.4 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.02826, allocations: 4 kB / 288.4 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.02826, allocations: 0 / 288.4 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008025/0.02906, allocations: 0.6607 MB / 289 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.03052, allocations: 0.8596 MB / 289.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.03052, allocations: 0 / 289.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.03087, allocations: 71.91 kB / 290 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.03088, allocations: 4 kB / 290 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.03092, allocations: 20.05 kB / 290 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.03092, allocations: 4 kB / 290 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.03092, allocations: 3.938 kB / 290 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009783/0.0319, allocations: 0.6319 MB / 290.6 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.03205, allocations: 55.73 kB / 290.7 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.03211, allocations: 15.98 kB / 290.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.03233, allocations: 12 kB / 290.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.03241, allocations: 31.89 kB / 290.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.03244, allocations: 19.98 kB / 290.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003055/0.03275, allocations: 271 kB / 291 MB, free: 14.06 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03275, allocations: 3.938 kB / 291 MB, free: 14.06 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004202/0.03317, allocations: 95.94 kB / 291.1 MB, free: 13.96 MB / 282.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.002985/0.03616, allocations: 456.2 kB / 291.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008104/0.03697, allocations: 439.4 kB / 292 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.03697, allocations: 0 / 292 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.03726, allocations: 155.2 kB / 292.1 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.03787, allocations: 103.8 kB / 292.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.03956, allocations: 0.9062 MB / 293.2 MB, free: 12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.03979, allocations: 203.7 kB / 293.4 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.03996, allocations: 47.25 kB / 293.4 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.048e-05/0.04005, allocations: 32.5 kB / 293.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.04005, allocations: 0 / 293.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of Templates: time 0.01288/0.05294, allocations: 5.562 MB / 299 MB, free: 6.258 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","/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.627740543917753]