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.001274/0.001274, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001392/0.001392, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.455/1.455, allocations: 230.6 MB / 258.3 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.002032/0.002032, allocations: 60.77 kB / 379 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2374, allocations: 53.38 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004467/0.2419, allocations: 2.897 MB / 435.3 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.2444, allocations: 1.43 MB / 436.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.2445, allocations: 7.938 kB / 436.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.2451, allocations: 175.1 kB / 436.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005538/0.2456, allocations: 258.6 kB / 437.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.246, allocations: 139.6 kB / 437.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005742/0.2465, allocations: 465.9 kB / 437.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.2467, allocations: 64.33 kB / 437.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.247, allocations: 191.3 kB / 438 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.2473, allocations: 227 kB / 438.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.2473, allocations: 32 kB / 438.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.2475, allocations: 67.98 kB / 438.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.2476, allocations: 87.69 kB / 438.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.2478, allocations: 198.9 kB / 438.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.2484, allocations: 487.7 kB / 439.1 MB, free: 260 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2484, allocations: 0 / 439.1 MB, free: 260 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2484, allocations: 0 / 439.1 MB, free: 260 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.2484, allocations: 0 / 439.1 MB, free: 260 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.001144/0.2496, allocations: 0.6491 MB / 439.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.2496, allocations: 12.03 kB / 439.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.2497, allocations: 56.59 kB / 439.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.2502, allocations: 285.1 kB / 440.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.2503, allocations: 16.81 kB / 440.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.2503, allocations: 23.38 kB / 440.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.2508, allocations: 293.5 kB / 440.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.2508, allocations: 0 / 440.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.2509, allocations: 8 kB / 440.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.2509, allocations: 4 kB / 440.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.2512, allocations: 149.7 kB / 440.6 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.001388/0.2526, allocations: 0.7924 MB / 441.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.253, allocations: 172.5 kB / 441.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.2531, allocations: 76.83 kB / 441.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.2532, allocations: 11.92 kB / 441.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.2534, allocations: 135.3 kB / 441.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.2534, allocations: 0 / 441.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.000834/0.2543, allocations: 330 kB / 442.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/0.2545, allocations: 316.4 kB / 442.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005193/0.255, allocations: 437.7 kB / 442.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.255, allocations: 29.7 kB / 442.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.2552, allocations: 216.5 kB / 443 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.2553, allocations: 71.33 kB / 443.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.2554, allocations: 69.58 kB / 443.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2555, allocations: 346.8 kB / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.2557, allocations: 67.91 kB / 443.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.2559, allocations: 176.7 kB / 443.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.2562, allocations: 171.3 kB / 443.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2562, allocations: 4 kB / 443.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005029/0.2567, allocations: 270.1 kB / 444.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2568, allocations: 7.438 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2568, allocations: 4 kB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/0.2569, allocations: 36.78 kB / 444.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.2571, allocations: 47.97 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.2587, allocations: 1.463 MB / 445.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.2589, allocations: 27.83 kB / 445.8 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.2589, allocations: 16.03 kB / 445.8 MB, free: 9.059 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.0001937/0.2591, allocations: 166 kB / 445.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.2592, allocations: 51.66 kB / 446 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.2597, allocations: 261.2 kB / 446.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2597, allocations: 8.078 kB / 446.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.2597, allocations: 3.938 kB / 446.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005941/0.2603, allocations: 0.5789 MB / 446.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009645/0.2612, allocations: 0.6788 MB / 447.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2612, allocations: 0 / 447.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.2615, allocations: 51.91 kB / 447.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2615, allocations: 0 / 447.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.2615, allocations: 11.98 kB / 447.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2615, allocations: 0 / 447.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2615, allocations: 0 / 447.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.2621, allocations: 414.7 kB / 448 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.2622, allocations: 59.75 kB / 448 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.2623, allocations: 4 kB / 448 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.2625, allocations: 12 kB / 448.1 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.2625, allocations: 15.83 kB / 448.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.2625, allocations: 12 kB / 448.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003635/0.2629, allocations: 323.1 kB / 448.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2629, allocations: 4.062 kB / 448.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003876/0.2633, allocations: 99.77 kB / 448.5 MB, free: 6.152 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.001528/0.2648, allocations: 416.9 kB / 448.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006081/0.2654, allocations: 298.5 kB / 449.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2654, allocations: 0 / 449.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.2656, allocations: 83.28 kB / 449.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.2662, allocations: 100.6 kB / 449.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.2676, allocations: 0.8079 MB / 450.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.2681, allocations: 0.8036 MB / 451 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.2683, allocations: 46.94 kB / 451 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.2683, allocations: 35.44 kB / 451.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2683, allocations: 0 / 451.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of Templates: time 0.01234/0.2807, allocations: 6.356 MB / 457.4 MB, free: 13.41 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins/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: 4.585431483574212]