Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.000948/0.000948, allocations: 76.81 kB / 22.28 MB, free: 2.211 MB / 18.57 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.001061/0.001061, allocations: 165 kB / 25.7 MB, free: 7.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.017/1.017, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.783e-05, allocations: 6.25 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.0043/0.004328, allocations: 2.895 MB / 254.4 MB, free: 4.32 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.006044, allocations: 1.193 MB / 255.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.0062, allocations: 7.938 kB / 255.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.006666, allocations: 187.1 kB / 255.8 MB, free: 2.926 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.007079, allocations: 214.6 kB / 256 MB, free: 2.715 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.007385, allocations: 151.5 kB / 256.2 MB, free: 2.566 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004645/0.00785, allocations: 469.6 kB / 256.6 MB, free: 2.105 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.008006, allocations: 66.56 kB / 256.7 MB, free: 2.039 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.008276, allocations: 263.4 kB / 257 MB, free: 1.781 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.008501, allocations: 159.6 kB / 257.1 MB, free: 1.625 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/0.008548, allocations: 32 kB / 257.2 MB, free: 1.594 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.008671, allocations: 71.92 kB / 257.2 MB, free: 1.523 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.008758, allocations: 87.69 kB / 257.3 MB, free: 1.438 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.008876, allocations: 127.6 kB / 257.4 MB, free: 1.312 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.009261, allocations: 334.8 kB / 257.8 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.009263, allocations: 0 / 257.8 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.009264, allocations: 0 / 257.8 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.009269, allocations: 0 / 257.8 MB, free: 0.9844 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007/0.009969, allocations: 0.6041 MB / 258.4 MB, free: 364 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.01, allocations: 11.98 kB / 258.4 MB, free: 352 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.01007, allocations: 48.89 kB / 258.4 MB, free: 304 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.01039, allocations: 248 kB / 258.7 MB, free: 32 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.01042, allocations: 16.88 kB / 258.7 MB, free: 12 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.01047, allocations: 20.42 kB / 258.7 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.01091, allocations: 0.5497 MB / 259.3 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.01093, allocations: 3.938 kB / 259.3 MB, free: 15.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.01095, allocations: 8 kB / 259.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.01095, allocations: 4 kB / 259.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.01107, allocations: 70.28 kB / 259.3 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007497/0.01182, allocations: 482.7 kB / 259.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.012, allocations: 145.2 kB / 260 MB, free: 14.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.01205, allocations: 36.78 kB / 260 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.01207, allocations: 8 kB / 260 MB, free: 14.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.01223, allocations: 153.5 kB / 260.1 MB, free: 14.37 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.864e-06/0.01223, allocations: 4 kB / 260.2 MB, free: 14.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003923/0.01263, allocations: 190.8 kB / 260.3 MB, free: 14.17 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.01273, allocations: 312.4 kB / 260.6 MB, free: 13.79 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.01313, allocations: 348.9 kB / 261 MB, free: 13.44 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.01316, allocations: 33.7 kB / 261 MB, free: 13.4 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.996e-05/0.01325, allocations: 165.4 kB / 261.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.562e-05/0.0133, allocations: 83.25 kB / 261.3 MB, free: 13.15 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.01337, allocations: 57.67 kB / 261.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.01348, allocations: 358.7 kB / 261.7 MB, free: 12.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.01352, allocations: 18.83 kB / 261.7 MB, free: 12.71 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.01371, allocations: 385 kB / 262.1 MB, free: 12.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.01384, allocations: 106.1 kB / 262.2 MB, free: 12.11 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01384, allocations: 3.938 kB / 262.2 MB, free: 12.11 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002354/0.01408, allocations: 165.2 kB / 262.3 MB, free: 11.94 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.0141, allocations: 8 kB / 262.3 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.0141, allocations: 0 / 262.3 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.071e-05/0.01419, allocations: 28.78 kB / 262.4 MB, free: 11.9 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.01441, allocations: 67.88 kB / 262.4 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008967/0.0153, allocations: 1.253 MB / 263.7 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.01543, allocations: 31.88 kB / 263.7 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.01545, allocations: 4 kB / 263.7 MB, free: 10.46 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 26 * 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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.01555, allocations: 132.5 kB / 263.8 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.0156, allocations: 35.95 kB / 263.9 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.01582, allocations: 158 kB / 264 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.01583, allocations: 4 kB / 264 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01583, allocations: 4 kB / 264 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004976/0.01633, allocations: 0.493 MB / 264.5 MB, free: 9.504 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.01681, allocations: 481.3 kB / 265 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01681, allocations: 0 / 265 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.01701, allocations: 63.94 kB / 265.1 MB, free: 8.941 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01702, allocations: 0 / 265.1 MB, free: 8.941 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01703, allocations: 4 kB / 265.1 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01703, allocations: 4 kB / 265.1 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.01703, allocations: 7.938 kB / 265.1 MB, free: 8.926 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.01729, allocations: 314.4 kB / 265.4 MB, free: 8.602 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.01737, allocations: 39.69 kB / 265.4 MB, free: 8.562 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.0174, allocations: 8 kB / 265.4 MB, free: 8.555 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.01754, allocations: 15.98 kB / 265.5 MB, free: 8.539 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.01758, allocations: 19.91 kB / 265.5 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.0176, allocations: 4 kB / 265.5 MB, free: 8.516 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001391/0.01774, allocations: 155.5 kB / 265.6 MB, free: 8.363 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01774, allocations: 0 / 265.6 MB, free: 8.363 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000311/0.01805, allocations: 95.92 kB / 265.7 MB, free: 8.27 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * 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 (24): * Single equations (assignments): 22 * 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.001319/0.01937, allocations: 0.5136 MB / 266.2 MB, free: 7.812 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.01971, allocations: 250.5 kB / 266.5 MB, free: 7.555 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.01972, allocations: 4 kB / 266.5 MB, free: 7.551 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.01979, allocations: 52.78 kB / 266.5 MB, free: 7.496 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.02017, allocations: 109.5 kB / 266.6 MB, free: 7.391 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.02148, allocations: 0.6968 MB / 267.3 MB, free: 6.664 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.797e-05/0.02156, allocations: 101.3 kB / 267.4 MB, free: 6.547 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.02169, allocations: 46.94 kB / 267.5 MB, free: 6.5 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.02199, allocations: 181.2 kB / 267.7 MB, free: 6.324 MB / 250.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02199, allocations: 3.938 kB / 267.7 MB, free: 6.32 MB / 250.7 MB Notification: Performance of Templates: time 0.01113/0.03312, allocations: 7.12 MB / 274.8 MB, free: 15.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.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.9147101235575974]