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.001724/0.001724, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.00144/0.00144, allocations: 167.1 kB / 25.02 MB, free: 9.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.466/1.466, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.853e-06/1.853e-06, allocations: 0 / 250.3 MB, free: 3.969 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.271e-05, allocations: 2.312 kB / 250.3 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.005572/0.005605, allocations: 2.672 MB / 253 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.008296, allocations: 1.131 MB / 254.1 MB, free: 136 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.008566, allocations: 4 kB / 254.1 MB, free: 132 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007095/0.009275, allocations: 183.1 kB / 254.3 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005998/0.009875, allocations: 210.7 kB / 254.5 MB, free: 15.74 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.0103, allocations: 151.5 kB / 254.7 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006554/0.01095, allocations: 473.6 kB / 255.1 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.01114, allocations: 71.94 kB / 255.2 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.01151, allocations: 263.4 kB / 255.5 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.01182, allocations: 167.5 kB / 255.6 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.784e-05/0.01189, allocations: 32 kB / 255.7 MB, free: 14.6 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.01206, allocations: 63.98 kB / 255.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.01219, allocations: 91.67 kB / 255.8 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.01238, allocations: 131.6 kB / 255.9 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007062/0.01309, allocations: 490.4 kB / 256.4 MB, free: 13.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.0131, allocations: 0 / 256.4 MB, free: 13.84 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.0131, allocations: 0 / 256.4 MB, free: 13.84 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.0131, allocations: 4 kB / 256.4 MB, free: 13.84 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.001221/0.01433, allocations: 0.6289 MB / 257 MB, free: 13.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.01437, allocations: 15.98 kB / 257.1 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.01453, allocations: 60.66 kB / 257.1 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006233/0.01515, allocations: 288.4 kB / 257.4 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.01519, allocations: 16.86 kB / 257.4 MB, free: 12.78 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.01525, allocations: 28.38 kB / 257.4 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008334/0.01608, allocations: 0.5893 MB / 258 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.0161, allocations: 7.891 kB / 258 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.01614, allocations: 12 kB / 258.1 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.01615, allocations: 4 kB / 258.1 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.01648, allocations: 145.9 kB / 258.2 MB, free: 11.88 MB / 250.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.01796, allocations: 0.642 MB / 258.8 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.0184, allocations: 178 kB / 259 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.01857, allocations: 72.83 kB / 259.1 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.406e-05/0.01862, allocations: 4 kB / 259.1 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/0.019, allocations: 190.5 kB / 259.3 MB, free: 10.73 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 2.154e-06/0.019, allocations: 0 / 259.3 MB, free: 10.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.001131/0.02013, allocations: 334.7 kB / 259.6 MB, free: 10.4 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006991/0.02083, allocations: 328.4 kB / 259.9 MB, free: 10 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/0.02144, allocations: 421.6 kB / 260.3 MB, free: 9.582 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.02148, allocations: 33.7 kB / 260.4 MB, free: 9.543 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.0217, allocations: 196.5 kB / 260.6 MB, free: 9.348 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.02179, allocations: 83.27 kB / 260.6 MB, free: 9.266 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.0219, allocations: 57.7 kB / 260.7 MB, free: 9.203 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.02214, allocations: 350.7 kB / 261 MB, free: 8.852 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.02229, allocations: 67.91 kB / 261.1 MB, free: 8.785 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.02279, allocations: 429 kB / 261.5 MB, free: 8.262 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.02314, allocations: 183.3 kB / 261.7 MB, free: 8.07 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.02315, allocations: 0 / 261.7 MB, free: 8.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006006/0.02375, allocations: 278.1 kB / 262 MB, free: 7.789 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.02377, allocations: 10.59 kB / 262 MB, free: 7.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.02378, allocations: 3.938 kB / 262 MB, free: 7.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.02394, allocations: 32.84 kB / 262 MB, free: 7.742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.02417, allocations: 51.97 kB / 262.1 MB, free: 7.691 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.02611, allocations: 1.444 MB / 263.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.02637, allocations: 27.86 kB / 263.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.02639, allocations: 8 kB / 263.6 MB, free: 6.105 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.0002919/0.02668, allocations: 173.7 kB / 263.7 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.904e-05/0.02678, allocations: 47.77 kB / 263.8 MB, free: 5.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006165/0.0274, allocations: 277.9 kB / 264 MB, free: 5.602 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.0274, allocations: 0 / 264 MB, free: 5.602 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.0274, allocations: 0 / 264 MB, free: 5.602 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000708/0.02811, allocations: 0.5867 MB / 264.6 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.02928, allocations: 0.614 MB / 265.2 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.02929, allocations: 3.984 kB / 265.2 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.02954, allocations: 47.92 kB / 265.3 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.02954, allocations: 0 / 265.3 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.02956, allocations: 4 kB / 265.3 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.02957, allocations: 15.92 kB / 265.3 MB, free: 4.184 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.02957, allocations: 0 / 265.3 MB, free: 4.184 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007826/0.03036, allocations: 415.6 kB / 265.7 MB, free: 3.762 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.03051, allocations: 59.75 kB / 265.8 MB, free: 3.703 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.03056, allocations: 4 kB / 265.8 MB, free: 3.699 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.03078, allocations: 19.92 kB / 265.8 MB, free: 3.68 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.339e-05/0.03086, allocations: 15.92 kB / 265.8 MB, free: 3.664 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.03089, allocations: 11.98 kB / 265.8 MB, free: 3.652 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003937/0.03128, allocations: 303.2 kB / 266.1 MB, free: 3.359 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03128, allocations: 0 / 266.1 MB, free: 3.359 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004602/0.03174, allocations: 99.89 kB / 266.2 MB, free: 3.262 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.002095/0.03384, allocations: 449.8 kB / 266.7 MB, free: 2.852 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008859/0.03472, allocations: 313.2 kB / 267 MB, free: 2.535 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.03473, allocations: 0 / 267 MB, free: 2.535 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.03491, allocations: 79.91 kB / 267 MB, free: 2.457 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.03555, allocations: 114.1 kB / 267.2 MB, free: 2.344 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.03717, allocations: 0.7424 MB / 267.9 MB, free: 1.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.0374, allocations: 189.1 kB / 268.1 MB, free: 1.367 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001552/0.03756, allocations: 42.95 kB / 268.1 MB, free: 1.324 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.03764, allocations: 28.5 kB / 268.2 MB, free: 1.297 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03764, allocations: 0 / 268.2 MB, free: 1.297 MB / 250.7 MB Notification: Performance of Templates: time 0.0167/0.05434, allocations: 6.425 MB / 274.6 MB, free: 10.86 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6615959299961105]