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.001313/0.001313, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001456/0.001456, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.448/1.448, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.00199/0.00199, allocations: 67.83 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2317, allocations: 53.31 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004456/0.2361, allocations: 2.913 MB / 434.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.2385, allocations: 1.418 MB / 436.4 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.2386, allocations: 7.938 kB / 436.4 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005004/0.2391, allocations: 175.1 kB / 436.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005442/0.2396, allocations: 250.6 kB / 436.8 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.24, allocations: 147.5 kB / 436.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005753/0.2405, allocations: 461.9 kB / 437.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.2407, allocations: 59.83 kB / 437.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002379/0.2409, allocations: 183.3 kB / 437.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.2413, allocations: 227 kB / 437.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.2413, allocations: 32 kB / 437.9 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.2414, allocations: 71.98 kB / 437.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2416, allocations: 87.67 kB / 438 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.2417, allocations: 198.9 kB / 438.2 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005823/0.2423, allocations: 488 kB / 438.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2423, allocations: 0 / 438.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2423, allocations: 4 kB / 438.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.2423, allocations: 3.938 kB / 438.7 MB, free: 0.6953 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.001135/0.2435, allocations: 0.7198 MB / 439.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.2435, allocations: 12.03 kB / 439.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.2436, allocations: 52.64 kB / 439.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.2441, allocations: 346.8 kB / 439.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.2442, allocations: 16.81 kB / 439.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.2442, allocations: 24.11 kB / 439.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.2447, allocations: 289.5 kB / 440.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.2447, allocations: 0 / 440.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.2447, allocations: 12 kB / 440.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2447, allocations: 4 kB / 440.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.245, allocations: 149.7 kB / 440.3 MB, free: 14.96 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.001374/0.2464, allocations: 0.8246 MB / 441.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.2468, allocations: 179.1 kB / 441.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.247, allocations: 72.83 kB / 441.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.247, allocations: 0 / 441.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.2473, allocations: 139.2 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.2473, allocations: 4 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008967/0.2482, allocations: 406 kB / 441.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001776/0.2483, allocations: 312.4 kB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/0.2488, allocations: 441.7 kB / 442.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.2489, allocations: 29.7 kB / 442.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.249, allocations: 216.3 kB / 442.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.1e-05/0.2491, allocations: 79.22 kB / 443 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.892e-05/0.2492, allocations: 65.69 kB / 443 MB, free: 12.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.2494, allocations: 350.8 kB / 443.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.2495, allocations: 63.91 kB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.2498, allocations: 176.5 kB / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.2501, allocations: 172 kB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.2501, allocations: 3.938 kB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004873/0.2506, allocations: 274.2 kB / 444.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2506, allocations: 4 kB / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2506, allocations: 4 kB / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/0.2507, allocations: 36.78 kB / 444.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.251, allocations: 47.97 kB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.2526, allocations: 1.579 MB / 445.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.2528, allocations: 19.89 kB / 445.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.2528, allocations: 12.03 kB / 445.8 MB, free: 9.074 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.0002143/0.2531, allocations: 169.8 kB / 445.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.2531, allocations: 43.72 kB / 446 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.2537, allocations: 258 kB / 446.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2537, allocations: 7.875 kB / 446.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2537, allocations: 7.984 kB / 446.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005545/0.2542, allocations: 0.5783 MB / 446.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009519/0.2552, allocations: 0.7079 MB / 447.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2552, allocations: 4 kB / 447.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.2554, allocations: 47.91 kB / 447.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2554, allocations: 4 kB / 447.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.2554, allocations: 0 / 447.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.2554, allocations: 4 kB / 447.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2554, allocations: 0 / 447.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006028/0.256, allocations: 418 kB / 448 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.2562, allocations: 136.8 kB / 448.1 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.2562, allocations: 8 kB / 448.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.2564, allocations: 11.98 kB / 448.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.2565, allocations: 15.84 kB / 448.1 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.2565, allocations: 12 kB / 448.2 MB, free: 6.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003479/0.2568, allocations: 319.1 kB / 448.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2568, allocations: 3.938 kB / 448.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003745/0.2572, allocations: 91.92 kB / 448.6 MB, free: 6.047 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.001483/0.2587, allocations: 424.4 kB / 449 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006097/0.2593, allocations: 294.5 kB / 449.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2593, allocations: 0 / 449.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.2595, allocations: 75.84 kB / 449.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005731/0.26, allocations: 115.7 kB / 449.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.2615, allocations: 0.8052 MB / 450.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.262, allocations: 0.7998 MB / 451.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.2621, allocations: 42.95 kB / 451.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.2622, allocations: 31.44 kB / 451.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2622, allocations: 0 / 451.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of Templates: time 0.01239/0.2746, allocations: 6.308 MB / 457.4 MB, free: 13.37 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 -s cvode -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.560800871811807]