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.001952/0.001952, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 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.002429/0.002429, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 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 1.466/1.466, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00162/0.00162, allocations: 47.92 kB / 371.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2482, allocations: 52.19 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004526/0.2527, allocations: 2.888 MB / 426.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.2549, allocations: 1.278 MB / 428 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.255, allocations: 3.938 kB / 428 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.2556, allocations: 187.1 kB / 428.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.256, allocations: 210.8 kB / 428.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.2564, allocations: 187.4 kB / 428.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005626/0.257, allocations: 453.9 kB / 429.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.2572, allocations: 72.02 kB / 429.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.2574, allocations: 183.3 kB / 429.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.2577, allocations: 215.1 kB / 429.5 MB, free: 9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.2578, allocations: 28 kB / 429.5 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.2579, allocations: 67.97 kB / 429.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.258, allocations: 87.69 kB / 429.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.2582, allocations: 195 kB / 429.9 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005812/0.2588, allocations: 491.2 kB / 430.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2588, allocations: 4 kB / 430.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2588, allocations: 4 kB / 430.4 MB, free: 8.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2588, allocations: 0 / 430.4 MB, free: 8.145 MB / 334.1 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.001077/0.2599, allocations: 0.6251 MB / 431 MB, free: 7.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2599, allocations: 12.03 kB / 431 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.304e-05/0.26, allocations: 44.66 kB / 431 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005216/0.2606, allocations: 297 kB / 431.3 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.2606, allocations: 12.81 kB / 431.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.2606, allocations: 24.12 kB / 431.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.2611, allocations: 293.5 kB / 431.7 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.2611, allocations: 0 / 431.7 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.2612, allocations: 8 kB / 431.7 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2612, allocations: 4 kB / 431.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.2615, allocations: 149.7 kB / 431.8 MB, free: 6.594 MB / 334.1 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.001376/0.2629, allocations: 0.7847 MB / 432.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.2633, allocations: 182.2 kB / 432.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.2634, allocations: 64.84 kB / 432.8 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.2635, allocations: 11.98 kB / 432.9 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.2637, allocations: 142.7 kB / 433 MB, free: 5.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.2637, allocations: 0 / 433 MB, free: 5.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008301/0.2645, allocations: 318 kB / 433.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001837/0.2647, allocations: 324.4 kB / 433.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/0.2652, allocations: 429.7 kB / 434 MB, free: 4.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.2653, allocations: 33.7 kB / 434.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.2654, allocations: 200.5 kB / 434.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.31e-05/0.2655, allocations: 79.31 kB / 434.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.792e-05/0.2656, allocations: 57.7 kB / 434.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2658, allocations: 346.8 kB / 434.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.2659, allocations: 67.97 kB / 434.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.2662, allocations: 179.9 kB / 435 MB, free: 3.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.2665, allocations: 175.4 kB / 435.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.2665, allocations: 7.938 kB / 435.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005049/0.267, allocations: 274.1 kB / 435.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.267, allocations: 4 kB / 435.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.267, allocations: 4 kB / 435.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.2671, allocations: 40.77 kB / 435.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.2674, allocations: 52.06 kB / 435.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.2689, allocations: 1.464 MB / 437 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.2691, allocations: 31.78 kB / 437 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.2691, allocations: 15.97 kB / 437 MB, free: 0.9844 MB / 334.1 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.0001964/0.2693, allocations: 165.8 kB / 437.2 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.2694, allocations: 39.77 kB / 437.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005006/0.2699, allocations: 262 kB / 437.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2699, allocations: 3.938 kB / 437.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.2699, allocations: 7.984 kB / 437.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005752/0.2705, allocations: 0.5777 MB / 438.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009835/0.2715, allocations: 0.6718 MB / 438.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2715, allocations: 0 / 438.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.2717, allocations: 39.98 kB / 438.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2717, allocations: 4 kB / 438.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.2717, allocations: 15.92 kB / 438.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2717, allocations: 0 / 438.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2717, allocations: 4 kB / 438.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/0.2723, allocations: 398.1 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.2724, allocations: 67.66 kB / 439.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.2725, allocations: 11.98 kB / 439.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.2727, allocations: 15.98 kB / 439.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.2728, allocations: 20.03 kB / 439.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.2728, allocations: 8 kB / 439.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003477/0.2731, allocations: 311.1 kB / 439.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2731, allocations: 0 / 439.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003779/0.2735, allocations: 87.94 kB / 439.7 MB, free: 14.11 MB / 350.1 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 (23): * Single equations (assignments): 21 * 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.001532/0.275, allocations: 415.4 kB / 440.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006103/0.2756, allocations: 318.2 kB / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2757, allocations: 0 / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.2758, allocations: 75.84 kB / 440.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/0.2764, allocations: 105.4 kB / 440.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.278, allocations: 0.8324 MB / 441.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.2785, allocations: 0.7921 MB / 442.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-05/0.2786, allocations: 39.42 kB / 442.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2786, allocations: 0 / 442.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Templates: time 0.01003/0.2886, allocations: 5.882 MB / 448.2 MB, free: 5.801 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.23939822986722]