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.001982/0.001982, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001994/0.001994, allocations: 186 kB / 24.46 MB, free: 3.863 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.495/1.495, allocations: 225.7 MB / 253.3 MB, free: 12.85 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.001663/0.001663, allocations: 51.92 kB / 371.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2544, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004324/0.2587, allocations: 2.678 MB / 426.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.2609, allocations: 1.196 MB / 427.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.2611, allocations: 7.938 kB / 427.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005338/0.2616, allocations: 175.1 kB / 427.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00048/0.2621, allocations: 210.8 kB / 428.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.2625, allocations: 183.5 kB / 428.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000542/0.2631, allocations: 444.1 kB / 428.7 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.2632, allocations: 68.02 kB / 428.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.2635, allocations: 191.2 kB / 428.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.2638, allocations: 195.1 kB / 429.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.701e-05/0.2638, allocations: 32 kB / 429.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.264, allocations: 67.98 kB / 429.2 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.2641, allocations: 91.61 kB / 429.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.2643, allocations: 155.2 kB / 429.4 MB, free: 8.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00059/0.2649, allocations: 496.9 kB / 429.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2649, allocations: 0 / 429.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.2649, allocations: 7.984 kB / 429.9 MB, free: 8.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.2649, allocations: 0 / 429.9 MB, free: 8.312 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.001092/0.266, allocations: 0.629 MB / 430.6 MB, free: 7.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.266, allocations: 15.97 kB / 430.6 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.709e-05/0.2661, allocations: 48.66 kB / 430.6 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.2666, allocations: 277.1 kB / 430.9 MB, free: 7.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.2666, allocations: 16.81 kB / 430.9 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.448e-05/0.2667, allocations: 20.12 kB / 430.9 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/0.2674, allocations: 0.5917 MB / 431.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2674, allocations: 3.938 kB / 431.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.2674, allocations: 8 kB / 431.5 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.2674, allocations: 8 kB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.2677, allocations: 153.6 kB / 431.7 MB, free: 6.379 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.001306/0.269, allocations: 0.6375 MB / 432.3 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/0.2694, allocations: 175.1 kB / 432.5 MB, free: 5.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.2695, allocations: 74.89 kB / 432.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.2696, allocations: 8 kB / 432.6 MB, free: 5.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.2699, allocations: 186.2 kB / 432.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.2699, allocations: 0 / 432.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008608/0.2707, allocations: 330 kB / 433.1 MB, free: 4.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001951/0.2709, allocations: 312.4 kB / 433.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004845/0.2714, allocations: 425.7 kB / 433.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.2714, allocations: 33.7 kB / 433.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.2716, allocations: 204.4 kB / 434 MB, free: 3.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.771e-05/0.2717, allocations: 75.31 kB / 434.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.72e-05/0.2718, allocations: 65.66 kB / 434.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.272, allocations: 350.8 kB / 434.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.2721, allocations: 63.97 kB / 434.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.2725, allocations: 433 kB / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.2728, allocations: 167.3 kB / 435.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2728, allocations: 0 / 435.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000517/0.2734, allocations: 294 kB / 435.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2734, allocations: 4 kB / 435.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2734, allocations: 0 / 435.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/0.2735, allocations: 36.83 kB / 435.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.2738, allocations: 55.91 kB / 435.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.2753, allocations: 1.433 MB / 437 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.2756, allocations: 35.88 kB / 437 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.2756, allocations: 8 kB / 437 MB, free: 0.6211 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.0002207/0.2758, allocations: 168.9 kB / 437.2 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.2759, allocations: 39.77 kB / 437.2 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000537/0.2764, allocations: 265.9 kB / 437.5 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2764, allocations: 0 / 437.5 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2764, allocations: 8.031 kB / 437.5 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006082/0.277, allocations: 0.5932 MB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009401/0.278, allocations: 0.5984 MB / 438.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.278, allocations: 0 / 438.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.2782, allocations: 55.91 kB / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2782, allocations: 3.938 kB / 438.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.2782, allocations: 4 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2782, allocations: 0 / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2782, allocations: 0 / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006235/0.2788, allocations: 421.9 kB / 439.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.279, allocations: 59.64 kB / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.279, allocations: 12.05 kB / 439.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.2792, allocations: 19.98 kB / 439.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.2793, allocations: 11.97 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.2793, allocations: 8 kB / 439.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003392/0.2797, allocations: 307.1 kB / 439.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2797, allocations: 0 / 439.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004091/0.2801, allocations: 95.89 kB / 439.7 MB, free: 13.81 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 (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.001664/0.2817, allocations: 451 kB / 440.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006886/0.2824, allocations: 314.3 kB / 440.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.2824, allocations: 4 kB / 440.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.2826, allocations: 75.91 kB / 440.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.2832, allocations: 97.5 kB / 440.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.2847, allocations: 0.8511 MB / 441.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.2849, allocations: 189.4 kB / 441.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.076e-05/0.285, allocations: 35.44 kB / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.285, allocations: 0 / 441.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Templates: time 0.009696/0.2947, allocations: 5.941 MB / 447.6 MB, free: 6.027 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.487539296038449]