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.0008781/0.0008781, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.0009331/0.0009331, allocations: 168.3 kB / 25.33 MB, free: 9.445 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.8436/0.8436, allocations: 158.6 MB / 187.2 MB, free: 2.562 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.593e-06/1.593e-06, allocations: 0 / 251 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.916e-05/2.075e-05, allocations: 2.312 kB / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004005/0.004026, allocations: 2.89 MB / 253.9 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.00575, allocations: 1.158 MB / 255.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.00593, allocations: 7.938 kB / 255.1 MB, free: 15.53 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004706/0.0064, allocations: 183 kB / 255.3 MB, free: 15.35 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.006792, allocations: 210.7 kB / 255.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000573/0.007365, allocations: 151.5 kB / 255.6 MB, free: 15 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000431/0.007796, allocations: 473.6 kB / 256.1 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.007962, allocations: 67.95 kB / 256.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.008209, allocations: 263.4 kB / 256.4 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.008409, allocations: 167.6 kB / 256.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.008448, allocations: 28 kB / 256.6 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.008567, allocations: 71.92 kB / 256.7 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.635e-05/0.008653, allocations: 91.59 kB / 256.7 MB, free: 13.85 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.008764, allocations: 127.7 kB / 256.9 MB, free: 13.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.009103, allocations: 338.8 kB / 257.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.009106, allocations: 0 / 257.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.009106, allocations: 0 / 257.2 MB, free: 13.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.009111, allocations: 0 / 257.2 MB, free: 13.39 MB / 250.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.000727/0.009838, allocations: 0.7289 MB / 257.9 MB, free: 12.63 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.009872, allocations: 11.98 kB / 257.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.539e-05/0.009957, allocations: 72.64 kB / 258 MB, free: 12.55 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.01022, allocations: 278.7 kB / 258.3 MB, free: 12.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.01025, allocations: 16.88 kB / 258.3 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.01028, allocations: 28.33 kB / 258.3 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.01067, allocations: 0.5774 MB / 258.9 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.01068, allocations: 7.938 kB / 258.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.0107, allocations: 12 kB / 258.9 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.01071, allocations: 4 kB / 258.9 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.01084, allocations: 90.91 kB / 259 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008109/0.01165, allocations: 0.6803 MB / 259.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.01185, allocations: 127.6 kB / 259.8 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.585e-05/0.01192, allocations: 55.66 kB / 259.9 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.01194, allocations: 4 kB / 259.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.01211, allocations: 172.2 kB / 260.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.542e-06/0.01211, allocations: 0 / 260.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004675/0.01257, allocations: 273.4 kB / 260.3 MB, free: 9.992 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.791e-05/0.01267, allocations: 320.4 kB / 260.6 MB, free: 9.605 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.01294, allocations: 418.8 kB / 261 MB, free: 9.18 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.01296, allocations: 33.7 kB / 261.1 MB, free: 9.141 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.01309, allocations: 255.2 kB / 261.3 MB, free: 8.887 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.01314, allocations: 87.27 kB / 261.4 MB, free: 8.801 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.01321, allocations: 63.36 kB / 261.5 MB, free: 8.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.01337, allocations: 0.5235 MB / 262 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/0.01343, allocations: 35.97 kB / 262 MB, free: 8.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/0.01395, allocations: 432.5 kB / 262.5 MB, free: 7.617 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.01409, allocations: 126.6 kB / 262.6 MB, free: 7.477 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.0141, allocations: 12 kB / 262.6 MB, free: 7.465 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002561/0.01435, allocations: 228.9 kB / 262.8 MB, free: 7.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.01437, allocations: 14.91 kB / 262.8 MB, free: 7.219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01437, allocations: 0 / 262.8 MB, free: 7.219 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.01448, allocations: 31.61 kB / 262.9 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.0146, allocations: 47.97 kB / 262.9 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.01564, allocations: 1.842 MB / 264.7 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.01575, allocations: 23.88 kB / 264.8 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.01576, allocations: 8 kB / 264.8 MB, free: 5.141 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.0001071/0.01587, allocations: 176.5 kB / 264.9 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.01591, allocations: 55.72 kB / 265 MB, free: 4.902 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.01618, allocations: 224.7 kB / 265.2 MB, free: 4.668 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01619, allocations: 4 kB / 265.2 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01619, allocations: 0 / 265.2 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002735/0.01646, allocations: 0.5437 MB / 265.8 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/0.01696, allocations: 0.6251 MB / 266.4 MB, free: 3.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01697, allocations: 0 / 266.4 MB, free: 3.344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.01709, allocations: 51.91 kB / 266.4 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01709, allocations: 0 / 266.4 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.0171, allocations: 8 kB / 266.5 MB, free: 3.285 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.01711, allocations: 7.938 kB / 266.5 MB, free: 3.277 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01711, allocations: 0 / 266.5 MB, free: 3.277 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.01742, allocations: 395.9 kB / 266.8 MB, free: 2.871 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.0175, allocations: 55.67 kB / 266.9 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.01753, allocations: 11.94 kB / 266.9 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.01763, allocations: 23.92 kB / 266.9 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.01767, allocations: 15.97 kB / 267 MB, free: 2.766 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.01769, allocations: 4 kB / 267 MB, free: 2.762 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001798/0.01786, allocations: 287 kB / 267.2 MB, free: 2.488 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01786, allocations: 4.031 kB / 267.2 MB, free: 2.484 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000256/0.01812, allocations: 91.89 kB / 267.3 MB, free: 2.395 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.0007628/0.01888, allocations: 400.6 kB / 267.7 MB, free: 2.035 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003806/0.01926, allocations: 340.2 kB / 268.1 MB, free: 1.684 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.01927, allocations: 4 kB / 268.1 MB, free: 1.68 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/0.01935, allocations: 63.59 kB / 268.1 MB, free: 1.613 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.01968, allocations: 110.1 kB / 268.2 MB, free: 1.504 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.02079, allocations: 0.697 MB / 268.9 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.614e-05/0.02084, allocations: 100.6 kB / 269 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.722e-05/0.02094, allocations: 46.94 kB / 269.1 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.02099, allocations: 32.5 kB / 269.1 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02099, allocations: 0 / 269.1 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of Templates: time 0.008594/0.02959, allocations: 6.842 MB / 275.9 MB, free: 9.727 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.820338374003768]