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.001175/0.001175, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001924/0.003099, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001194/0.001194, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001492/0.002685, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.9647/0.9647, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1786/1.143, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.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.503e-06/1.503e-06, allocations: 0 / 221.8 MB, free: 204 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.348e-06/1.085e-05, allocations: 6.312 kB / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002883/0.002894, allocations: 2.903 MB / 224.7 MB, free: 13.27 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.004414, allocations: 1.216 MB / 225.9 MB, free: 12.04 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.004553, allocations: 7.938 kB / 225.9 MB, free: 12.04 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.00487, allocations: 175.1 kB / 226.1 MB, free: 11.86 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.005172, allocations: 226.6 kB / 226.3 MB, free: 11.64 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.005436, allocations: 151.5 kB / 226.5 MB, free: 11.49 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.005876, allocations: 465.7 kB / 226.9 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.006053, allocations: 70.58 kB / 227 MB, free: 10.97 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003305/0.006383, allocations: 326.5 kB / 227.3 MB, free: 10.65 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.0066, allocations: 159.6 kB / 227.5 MB, free: 10.49 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.006646, allocations: 28 kB / 227.5 MB, free: 10.46 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.00677, allocations: 67.92 kB / 227.6 MB, free: 10.4 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.387e-05/0.006854, allocations: 63.75 kB / 227.6 MB, free: 10.34 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.006957, allocations: 107.8 kB / 227.7 MB, free: 10.23 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.007278, allocations: 322.8 kB / 228.1 MB, free: 9.914 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.564e-05/0.007293, allocations: 0 / 228.1 MB, free: 9.914 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.007294, allocations: 0 / 228.1 MB, free: 9.914 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.007309, allocations: 0 / 228.1 MB, free: 9.914 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.0007257/0.008034, allocations: 0.6897 MB / 228.7 MB, free: 9.199 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.008065, allocations: 8.031 kB / 228.8 MB, free: 9.191 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.008124, allocations: 48.89 kB / 228.8 MB, free: 9.145 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.00839, allocations: 240 kB / 229 MB, free: 8.883 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.008414, allocations: 12.88 kB / 229.1 MB, free: 8.871 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.008449, allocations: 28.31 kB / 229.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.008827, allocations: 0.5458 MB / 229.6 MB, free: 8.18 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.008839, allocations: 7.938 kB / 229.6 MB, free: 8.172 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.008859, allocations: 8 kB / 229.6 MB, free: 8.164 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.008868, allocations: 8 kB / 229.6 MB, free: 8.156 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.562e-05/0.008964, allocations: 62.22 kB / 229.7 MB, free: 8.094 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006737/0.009637, allocations: 478.9 kB / 230.2 MB, free: 7.602 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.009785, allocations: 145.1 kB / 230.3 MB, free: 7.449 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.009825, allocations: 40.84 kB / 230.4 MB, free: 7.406 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.009848, allocations: 4 kB / 230.4 MB, free: 7.402 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.01001, allocations: 161.4 kB / 230.5 MB, free: 7.219 MB / 234.7 MB Notification: Performance of pre-optimization done (n=23): time 1.333e-06/0.01001, allocations: 0 / 230.5 MB, free: 7.219 MB / 234.7 MB Notification: Performance of matching and sorting (n=23): time 0.0003243/0.01033, allocations: 186.8 kB / 230.7 MB, free: 7.027 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.01036, allocations: 59.41 kB / 230.8 MB, free: 6.957 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.01055, allocations: 348.9 kB / 231.1 MB, free: 6.605 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.01058, allocations: 37.7 kB / 231.1 MB, free: 6.562 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/0.01065, allocations: 157.4 kB / 231.3 MB, free: 6.402 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.01069, allocations: 91.23 kB / 231.4 MB, free: 6.312 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.01075, allocations: 53.69 kB / 231.4 MB, free: 6.254 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.01083, allocations: 350.7 kB / 231.8 MB, free: 5.902 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.562e-05/0.01087, allocations: 30.81 kB / 231.8 MB, free: 5.871 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.01102, allocations: 381 kB / 232.2 MB, free: 5.395 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.932e-05/0.01111, allocations: 106.1 kB / 232.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01112, allocations: 4 kB / 232.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001695/0.01129, allocations: 169.1 kB / 232.5 MB, free: 5.098 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.0113, allocations: 4 kB / 232.5 MB, free: 5.094 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.0113, allocations: 4 kB / 232.5 MB, free: 5.09 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-05/0.01138, allocations: 24.78 kB / 232.5 MB, free: 5.062 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.01155, allocations: 72.09 kB / 232.6 MB, free: 4.992 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007106/0.01226, allocations: 1.249 MB / 233.8 MB, free: 3.656 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.922e-05/0.01235, allocations: 19.89 kB / 233.8 MB, free: 3.637 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.01236, allocations: 7.938 kB / 233.8 MB, free: 3.629 MB / 234.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 9.301e-05/0.01245, allocations: 148.5 kB / 234 MB, free: 3.473 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.01248, allocations: 31.97 kB / 234 MB, free: 3.441 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.01265, allocations: 165.8 kB / 234.2 MB, free: 3.27 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01265, allocations: 4 kB / 234.2 MB, free: 3.266 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.01266, allocations: 3.984 kB / 234.2 MB, free: 3.262 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001997/0.01286, allocations: 0.4968 MB / 234.7 MB, free: 2.66 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.01322, allocations: 477.2 kB / 235.1 MB, free: 2.164 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01322, allocations: 0 / 235.1 MB, free: 2.164 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.01338, allocations: 71.95 kB / 235.2 MB, free: 2.094 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.01344, allocations: 43.69 kB / 235.3 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.01344, allocations: 0 / 235.3 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.01346, allocations: 15.92 kB / 235.3 MB, free: 2.035 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.01346, allocations: 7.938 kB / 235.3 MB, free: 2.027 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01346, allocations: 0 / 235.3 MB, free: 2.027 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.01365, allocations: 306.6 kB / 235.6 MB, free: 1.711 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.01368, allocations: 4 kB / 235.6 MB, free: 1.707 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/0.01377, allocations: 12 kB / 235.6 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.0138, allocations: 15.91 kB / 235.6 MB, free: 1.68 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.01381, allocations: 16.02 kB / 235.6 MB, free: 1.664 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.01392, allocations: 147.5 kB / 235.8 MB, free: 1.516 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01392, allocations: 0 / 235.8 MB, free: 1.516 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002027/0.01412, allocations: 99.88 kB / 235.9 MB, free: 1.418 MB / 234.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.001069/0.01519, allocations: 0.5494 MB / 236.4 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.01549, allocations: 246.7 kB / 236.7 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.0155, allocations: 12 kB / 236.7 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 5.67e-05/0.01555, allocations: 64.56 kB / 236.7 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.01584, allocations: 145.7 kB / 236.9 MB, free: 440 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.0199, allocations: 0.6619 MB / 237.5 MB, free: 15.73 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.546e-05/0.01995, allocations: 101.3 kB / 237.6 MB, free: 15.61 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.918e-05/0.02005, allocations: 50.92 kB / 237.7 MB, free: 15.57 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.02027, allocations: 173.2 kB / 237.8 MB, free: 15.4 MB / 250.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02027, allocations: 0 / 237.8 MB, free: 15.4 MB / 250.7 MB Notification: Performance of Templates: time 0.008818/0.02908, allocations: 7.734 MB / 245.6 MB, free: 7.648 MB / 250.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 -emit_protected -ignoreHideResult -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.822660794481635]