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.0008879/0.0008879, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009052/0.0009052, allocations: 160.4 kB / 25.45 MB, free: 9.352 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.9206/0.9206, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.513e-06/1.513e-06, allocations: 0 / 299.7 MB, free: 6.953 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.26e-05, allocations: 2.281 kB / 299.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.002815/0.002837, allocations: 2.664 MB / 302.3 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.004308, allocations: 1.135 MB / 303.5 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.004473, allocations: 4 kB / 303.5 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.004944, allocations: 175.1 kB / 303.6 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.005332, allocations: 218.6 kB / 303.9 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.005635, allocations: 147.5 kB / 304 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004668/0.006102, allocations: 477.6 kB / 304.5 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.006259, allocations: 71.7 kB / 304.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.006503, allocations: 259.4 kB / 304.8 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.006692, allocations: 171.6 kB / 305 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.006732, allocations: 28 kB / 305 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.006852, allocations: 67.91 kB / 305.1 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.845e-05/0.00694, allocations: 95.62 kB / 305.1 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.007048, allocations: 131.7 kB / 305.3 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.007497, allocations: 486.5 kB / 305.8 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.007499, allocations: 0 / 305.8 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007501, allocations: 3.938 kB / 305.8 MB, free: 0.832 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.007508, allocations: 3.938 kB / 305.8 MB, free: 0.8281 MB / 282.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.0009129/0.00842, allocations: 0.6367 MB / 306.4 MB, free: 164 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.008471, allocations: 11.98 kB / 306.4 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.992e-05/0.008561, allocations: 52.66 kB / 306.5 MB, free: 100 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.008999, allocations: 280.4 kB / 306.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.009019, allocations: 12.88 kB / 306.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.009057, allocations: 20.38 kB / 306.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.009587, allocations: 0.5932 MB / 307.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.009605, allocations: 3.938 kB / 307.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.009629, allocations: 8 kB / 307.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.009636, allocations: 8 kB / 307.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.009854, allocations: 145.9 kB / 307.5 MB, free: 14.89 MB / 298.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.001011/0.01087, allocations: 0.642 MB / 308.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.01115, allocations: 187.1 kB / 308.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.578e-05/0.01125, allocations: 68.78 kB / 308.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.01128, allocations: 7.984 kB / 308.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.01152, allocations: 190.5 kB / 308.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.884e-06/0.01152, allocations: 0 / 308.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006289/0.01215, allocations: 326.1 kB / 308.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.01229, allocations: 328.3 kB / 309.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.01262, allocations: 421.6 kB / 309.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.01264, allocations: 33.7 kB / 309.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.01277, allocations: 204.4 kB / 309.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.01283, allocations: 79.34 kB / 310 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.01289, allocations: 57.69 kB / 310 MB, free: 12.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.013, allocations: 346.8 kB / 310.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-05/0.01309, allocations: 71.97 kB / 310.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.01334, allocations: 429 kB / 310.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.01354, allocations: 171.4 kB / 311 MB, free: 11.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.01355, allocations: 0 / 311 MB, free: 11.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003343/0.01388, allocations: 282 kB / 311.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.0139, allocations: 8.031 kB / 311.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.01391, allocations: 8 kB / 311.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001382/0.01405, allocations: 36.83 kB / 311.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.01418, allocations: 51.92 kB / 311.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.01519, allocations: 1.432 MB / 312.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.0153, allocations: 19.89 kB / 312.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.01531, allocations: 4 kB / 312.9 MB, free: 9.137 MB / 298.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.0001395/0.01545, allocations: 174 kB / 313 MB, free: 8.957 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.01549, allocations: 51.64 kB / 313.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003403/0.01583, allocations: 266.7 kB / 313.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.01584, allocations: 4.094 kB / 313.3 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.01584, allocations: 3.938 kB / 313.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003293/0.01617, allocations: 0.5828 MB / 313.9 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.01675, allocations: 0.618 MB / 314.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.01675, allocations: 4 kB / 314.5 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.01687, allocations: 51.91 kB / 314.6 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01687, allocations: 0 / 314.6 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.01688, allocations: 4 kB / 314.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.01689, allocations: 3.938 kB / 314.6 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01689, allocations: 0 / 314.6 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.01725, allocations: 422.9 kB / 315 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.01733, allocations: 63.7 kB / 315.1 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.01735, allocations: 8 kB / 315.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.01746, allocations: 19.92 kB / 315.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.0175, allocations: 16.03 kB / 315.1 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.01752, allocations: 12 kB / 315.1 MB, free: 6.672 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002161/0.01773, allocations: 303.1 kB / 315.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01773, allocations: 0 / 315.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002546/0.01799, allocations: 95.89 kB / 315.5 MB, free: 6.285 MB / 298.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.0006923/0.01868, allocations: 434.1 kB / 315.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004306/0.01911, allocations: 306.9 kB / 316.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01911, allocations: 0 / 316.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.83e-05/0.01921, allocations: 83.77 kB / 316.3 MB, free: 5.473 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.01956, allocations: 97.52 kB / 316.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009879/0.02055, allocations: 0.7659 MB / 317.2 MB, free: 4.578 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.02067, allocations: 189.4 kB / 317.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.02073, allocations: 32.48 kB / 317.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02073, allocations: 0 / 317.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of Templates: time 0.006492/0.02722, allocations: 5.955 MB / 323.4 MB, free: 14.38 MB / 314.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: 5.256843600422144]