Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 148.8 kB / 24.8 MB, free: 9.316 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9447/0.9447, allocations: 173.3 MB / 201.4 MB, free: 9.195 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.27e-05, allocations: 2.312 kB / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002968/0.002991, allocations: 2.843 MB / 271.2 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.00451, allocations: 1.231 MB / 272.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.004698, allocations: 3.938 kB / 272.5 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004562/0.005154, allocations: 183.1 kB / 272.6 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.005558, allocations: 222.6 kB / 272.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.005917, allocations: 171.4 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.006377, allocations: 473.6 kB / 273.5 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.006528, allocations: 67.94 kB / 273.6 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.006786, allocations: 259.4 kB / 273.8 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.006986, allocations: 163.6 kB / 274 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.007027, allocations: 32 kB / 274 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.007142, allocations: 75.8 kB / 274.1 MB, free: 488 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.398e-05/0.007216, allocations: 91.67 kB / 274.2 MB, free: 396 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.007576, allocations: 127.7 kB / 274.3 MB, free: 268 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.007938, allocations: 334.7 kB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.007941, allocations: 0 / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007942, allocations: 4 kB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.007947, allocations: 0 / 274.6 MB, free: 15.93 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0006965/0.008643, allocations: 0.7367 MB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.00868, allocations: 8.922 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.00876, allocations: 64.66 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.009044, allocations: 274.8 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.009065, allocations: 12.88 kB / 275.7 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.009098, allocations: 28.38 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.009457, allocations: 0.5734 MB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.009468, allocations: 3.938 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.009486, allocations: 12 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.009492, allocations: 4 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.981e-05/0.009592, allocations: 71.36 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.01033, allocations: 0.626 MB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.0105, allocations: 138.2 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.01055, allocations: 47.64 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.01057, allocations: 4 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.01071, allocations: 154 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=23): time 1.452e-06/0.01071, allocations: 0 / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004346/0.01115, allocations: 251.9 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.01125, allocations: 316.4 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.01151, allocations: 418.5 kB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.01154, allocations: 33.7 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.01167, allocations: 263.1 kB / 278.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/0.01172, allocations: 79.27 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.01178, allocations: 67.33 kB / 278.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.01192, allocations: 0.5273 MB / 279.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.096e-05/0.01196, allocations: 27.98 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.01214, allocations: 432.5 kB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.01225, allocations: 110.7 kB / 279.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01226, allocations: 3.938 kB / 279.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002212/0.01248, allocations: 209.6 kB / 280.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.01249, allocations: 8 kB / 280.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.0125, allocations: 8.031 kB / 280.1 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.652e-05/0.01257, allocations: 31.66 kB / 280.1 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.0127, allocations: 51.92 kB / 280.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.01389, allocations: 1.811 MB / 282 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.01401, allocations: 27.88 kB / 282 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.01402, allocations: 8.188 kB / 282 MB, free: 7.891 MB / 266.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.000107/0.01412, allocations: 180.4 kB / 282.2 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.01417, allocations: 47.77 kB / 282.2 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.0144, allocations: 200.7 kB / 282.4 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.0144, allocations: 3.938 kB / 282.4 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.0144, allocations: 4 kB / 282.4 MB, free: 7.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002419/0.01464, allocations: 0.5307 MB / 283 MB, free: 6.805 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.01512, allocations: 0.5747 MB / 283.5 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.01512, allocations: 0 / 283.5 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.01524, allocations: 39.98 kB / 283.6 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.01524, allocations: 4 kB / 283.6 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.01525, allocations: 7.984 kB / 283.6 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01525, allocations: 0 / 283.6 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.01525, allocations: 0 / 283.6 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.01552, allocations: 373.8 kB / 283.9 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.01559, allocations: 59.67 kB / 284 MB, free: 5.699 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.01562, allocations: 8.031 kB / 284 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.01572, allocations: 15.98 kB / 284 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.01575, allocations: 15.97 kB / 284 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.01577, allocations: 8 kB / 284 MB, free: 5.652 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.0159, allocations: 263 kB / 284.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0159, allocations: 0 / 284.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002532/0.01615, allocations: 99.81 kB / 284.4 MB, free: 5.297 MB / 266.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.0007979/0.01695, allocations: 402.9 kB / 284.8 MB, free: 5.039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.0173, allocations: 321 kB / 285.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.0173, allocations: 0 / 285.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.01737, allocations: 71.77 kB / 285.2 MB, free: 4.629 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.01772, allocations: 108.2 kB / 285.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.0188, allocations: 0.6821 MB / 286 MB, free: 3.812 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.202e-05/0.01886, allocations: 108.5 kB / 286.1 MB, free: 3.688 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.01897, allocations: 42.95 kB / 286.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.0192, allocations: 210.1 kB / 286.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0192, allocations: 0 / 286.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of Templates: time 0.09522/0.1144, allocations: 6.943 MB / 293.3 MB, free: 29.14 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.814447426702827]