Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00783/0.00783, allocations: 103.4 kB / 21.98 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001691, allocations: 222.4 kB / 25.3 MB, free: 3.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 259 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.88 kB / 379.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2569, allocations: 53.37 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004705/0.2616, allocations: 2.902 MB / 436.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.2642, allocations: 1.426 MB / 437.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.2644, allocations: 7.938 kB / 437.5 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.2649, allocations: 179.1 kB / 437.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006118/0.2656, allocations: 254.6 kB / 437.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.2659, allocations: 143.5 kB / 438.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005883/0.2665, allocations: 461.9 kB / 438.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.2667, allocations: 68.86 kB / 438.6 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.2669, allocations: 191.3 kB / 438.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.2673, allocations: 223.1 kB / 439 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.2673, allocations: 28 kB / 439 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.2675, allocations: 75.98 kB / 439.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2676, allocations: 87.67 kB / 439.2 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.2678, allocations: 195 kB / 439.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000591/0.2684, allocations: 492.5 kB / 439.8 MB, free: 260 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2684, allocations: 0 / 439.8 MB, free: 260 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2684, allocations: 0 / 439.8 MB, free: 260 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.2684, allocations: 3.938 kB / 439.8 MB, free: 256 kB / 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.001106/0.2695, allocations: 0.6454 MB / 440.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2695, allocations: 8.031 kB / 440.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.944e-05/0.2696, allocations: 52.61 kB / 440.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.2701, allocations: 289.1 kB / 440.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.2702, allocations: 12.81 kB / 440.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.2702, allocations: 27.31 kB / 440.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.2707, allocations: 289.5 kB / 441.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.2707, allocations: 0 / 441.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.2708, allocations: 12 kB / 441.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2708, allocations: 4 kB / 441.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.2711, allocations: 149.7 kB / 441.3 MB, free: 14.68 MB / 350.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.001392/0.2725, allocations: 0.8002 MB / 442.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.2729, allocations: 179.9 kB / 442.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.2731, allocations: 72.81 kB / 442.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.2731, allocations: 7.938 kB / 442.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.2734, allocations: 127.3 kB / 442.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.2734, allocations: 0 / 442.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008783/0.2743, allocations: 338.4 kB / 442.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001993/0.2745, allocations: 312.4 kB / 443.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/0.275, allocations: 441.7 kB / 443.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.275, allocations: 29.7 kB / 443.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.2752, allocations: 208.5 kB / 443.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.536e-05/0.2753, allocations: 79.27 kB / 443.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.763e-05/0.2754, allocations: 61.64 kB / 443.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.2755, allocations: 358.8 kB / 444.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.2757, allocations: 55.98 kB / 444.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.276, allocations: 184.7 kB / 444.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.2763, allocations: 171.2 kB / 444.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2763, allocations: 0 / 444.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005017/0.2768, allocations: 270.2 kB / 444.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.2769, allocations: 12 kB / 445 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2769, allocations: 0 / 445 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.277, allocations: 32.84 kB / 445 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.2772, allocations: 51.91 kB / 445 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.2789, allocations: 1.475 MB / 446.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.2791, allocations: 23.83 kB / 446.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2791, allocations: 8 kB / 446.5 MB, free: 9.055 MB / 350.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.0002169/0.2793, allocations: 171.5 kB / 446.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.2794, allocations: 51.64 kB / 446.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.2799, allocations: 250.1 kB / 447 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2799, allocations: 8.172 kB / 447 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.2799, allocations: 0 / 447 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005846/0.2805, allocations: 0.5866 MB / 447.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.2816, allocations: 0.6746 MB / 448.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2816, allocations: 4 kB / 448.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.2818, allocations: 47.98 kB / 448.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2818, allocations: 4 kB / 448.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.2818, allocations: 7.984 kB / 448.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2818, allocations: 0 / 448.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2818, allocations: 0 / 448.3 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.2825, allocations: 406.7 kB / 448.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.2826, allocations: 63.81 kB / 448.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.2826, allocations: 8 kB / 448.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.2828, allocations: 8 kB / 448.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.2829, allocations: 23.83 kB / 448.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.2829, allocations: 4 kB / 448.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003663/0.2833, allocations: 319.1 kB / 449.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2833, allocations: 3.938 kB / 449.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.2837, allocations: 95.88 kB / 449.3 MB, free: 6.164 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.001521/0.2852, allocations: 430.7 kB / 449.7 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006559/0.2858, allocations: 302.6 kB / 450 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2858, allocations: 0 / 450 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.286, allocations: 79.16 kB / 450 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.2867, allocations: 101.5 kB / 450.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.2883, allocations: 0.8407 MB / 451 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.2887, allocations: 0.8104 MB / 451.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-05/0.2888, allocations: 31.44 kB / 451.8 MB, free: 3.664 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2888, allocations: 0 / 451.8 MB, free: 3.664 MB / 350.1 MB Notification: Performance of Templates: time 0.009741/0.2986, allocations: 5.937 MB / 457.8 MB, free: 13.77 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.298901426140219]