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.001141/0.001141, allocations: 85.95 kB / 22.21 MB, free: 2.297 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.001424/0.001424, allocations: 162.3 kB / 25.6 MB, free: 8.941 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 0.9441/0.9441, allocations: 158.6 MB / 187.5 MB, free: 2.812 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.463e-06/1.463e-06, allocations: 0 / 251.4 MB, free: 7.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.345e-05, allocations: 2.312 kB / 251.4 MB, free: 7.285 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003159/0.003182, allocations: 2.84 MB / 254.3 MB, free: 4.426 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.00483, allocations: 1.162 MB / 255.5 MB, free: 3.254 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.005037, allocations: 3.938 kB / 255.5 MB, free: 3.25 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005187/0.005556, allocations: 183.1 kB / 255.6 MB, free: 3.07 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004013/0.005957, allocations: 222.6 kB / 255.9 MB, free: 2.852 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.006267, allocations: 143.5 kB / 256 MB, free: 2.711 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004628/0.00673, allocations: 473.3 kB / 256.5 MB, free: 2.25 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.006884, allocations: 67.95 kB / 256.5 MB, free: 2.18 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.007162, allocations: 263.3 kB / 256.8 MB, free: 1.922 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.007366, allocations: 163.6 kB / 256.9 MB, free: 1.762 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.007409, allocations: 32 kB / 257 MB, free: 1.73 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.007547, allocations: 71.86 kB / 257 MB, free: 1.66 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.702e-05/0.007634, allocations: 91.67 kB / 257.1 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.007752, allocations: 127.7 kB / 257.3 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.008136, allocations: 334.7 kB / 257.6 MB, free: 1.113 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.008138, allocations: 0 / 257.6 MB, free: 1.113 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.008139, allocations: 0 / 257.6 MB, free: 1.113 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.008145, allocations: 4 kB / 257.6 MB, free: 1.109 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.0007595/0.008905, allocations: 0.7405 MB / 258.3 MB, free: 340 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.008945, allocations: 11.98 kB / 258.3 MB, free: 328 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.765e-05/0.009022, allocations: 64.66 kB / 258.4 MB, free: 264 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.009306, allocations: 282.7 kB / 258.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.009329, allocations: 16.88 kB / 258.7 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.009362, allocations: 24.38 kB / 258.7 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.009757, allocations: 0.5735 MB / 259.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.00977, allocations: 3.938 kB / 259.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.009787, allocations: 8 kB / 259.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.009795, allocations: 4 kB / 259.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.405e-05/0.009889, allocations: 79.3 kB / 259.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007773/0.01067, allocations: 0.626 MB / 260 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.01084, allocations: 119.5 kB / 260.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.0109, allocations: 47.72 kB / 260.2 MB, free: 14.28 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.01092, allocations: 8 kB / 260.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.01109, allocations: 156.4 kB / 260.3 MB, free: 14.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.784e-06/0.0111, allocations: 0 / 260.3 MB, free: 14.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004982/0.01159, allocations: 245.5 kB / 260.6 MB, free: 13.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.01172, allocations: 316.4 kB / 260.9 MB, free: 13.46 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.01202, allocations: 410.5 kB / 261.3 MB, free: 13.04 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.01206, allocations: 33.7 kB / 261.3 MB, free: 13 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.01222, allocations: 267.1 kB / 261.6 MB, free: 12.74 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.01227, allocations: 75.27 kB / 261.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.271e-05/0.01234, allocations: 67.33 kB / 261.7 MB, free: 12.59 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.0125, allocations: 0.5273 MB / 262.2 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.988e-05/0.01255, allocations: 27.98 kB / 262.3 MB, free: 12.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.01277, allocations: 424.6 kB / 262.7 MB, free: 11.49 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.01289, allocations: 122.6 kB / 262.8 MB, free: 11.35 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.0129, allocations: 0 / 262.8 MB, free: 11.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002522/0.01315, allocations: 208.9 kB / 263 MB, free: 11.14 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.01317, allocations: 8 kB / 263 MB, free: 11.13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01317, allocations: 8.031 kB / 263 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.559e-05/0.01327, allocations: 31.66 kB / 263.1 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.0134, allocations: 47.92 kB / 263.1 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000987/0.01439, allocations: 1.819 MB / 264.9 MB, free: 9.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.0145, allocations: 23.88 kB / 264.9 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.01451, allocations: 8 kB / 265 MB, free: 9.074 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.0001302/0.01464, allocations: 180.5 kB / 265.1 MB, free: 8.887 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.01469, allocations: 47.72 kB / 265.2 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.01495, allocations: 204.8 kB / 265.4 MB, free: 8.625 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01495, allocations: 0 / 265.4 MB, free: 8.625 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.01496, allocations: 4 kB / 265.4 MB, free: 8.621 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003106/0.01527, allocations: 0.5319 MB / 265.9 MB, free: 7.984 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.01584, allocations: 0.5748 MB / 266.5 MB, free: 7.371 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01584, allocations: 0 / 266.5 MB, free: 7.371 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.01596, allocations: 39.98 kB / 266.5 MB, free: 7.332 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01597, allocations: 4 kB / 266.5 MB, free: 7.328 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.01598, allocations: 7.984 kB / 266.5 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01599, allocations: 0 / 266.5 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01599, allocations: 0 / 266.5 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.01626, allocations: 379.8 kB / 266.9 MB, free: 6.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.01634, allocations: 55.67 kB / 267 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.01637, allocations: 12.03 kB / 267 MB, free: 6.863 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.01647, allocations: 15.98 kB / 267 MB, free: 6.848 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.0165, allocations: 11.97 kB / 267 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.01652, allocations: 8 kB / 267 MB, free: 6.828 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.01666, allocations: 263 kB / 267.3 MB, free: 6.578 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01666, allocations: 0 / 267.3 MB, free: 6.578 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.01693, allocations: 103.8 kB / 267.4 MB, free: 6.477 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.0008325/0.01776, allocations: 398.5 kB / 267.8 MB, free: 6.125 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.0181, allocations: 316.2 kB / 268.1 MB, free: 5.797 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.0181, allocations: 4 kB / 268.1 MB, free: 5.793 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.476e-05/0.01817, allocations: 63.77 kB / 268.1 MB, free: 5.727 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.01852, allocations: 102 kB / 268.2 MB, free: 5.625 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.01967, allocations: 0.7048 MB / 268.9 MB, free: 4.891 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.022e-05/0.01974, allocations: 104.5 kB / 269 MB, free: 4.77 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000113/0.01985, allocations: 38.97 kB / 269.1 MB, free: 4.73 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.02009, allocations: 210 kB / 269.3 MB, free: 4.523 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02009, allocations: 0 / 269.3 MB, free: 4.523 MB / 250.7 MB Notification: Performance of Templates: time 0.00913/0.02922, allocations: 6.951 MB / 276.2 MB, free: 13.56 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 -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.9889733330346644]