Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001336/0.001336, allocations: 112.4 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.00146/0.00146, allocations: 205.6 kB / 24.46 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.5/1.5, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [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.001981/0.001981, allocations: 68.08 kB / 378.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.234, allocations: 53.31 MB / 432 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004926/0.2389, allocations: 3.539 MB / 435.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.2405, allocations: 0.985 MB / 436.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.2407, allocations: 4 kB / 436.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.241, allocations: 115 kB / 436.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.2414, allocations: 186.4 kB / 436.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.2416, allocations: 123.8 kB / 437 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007273/0.2424, allocations: 0.6419 MB / 437.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.2426, allocations: 130.9 kB / 437.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.2429, allocations: 243.1 kB / 438 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.2433, allocations: 270.9 kB / 438.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.987e-05/0.2434, allocations: 52 kB / 438.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.989e-05/0.2435, allocations: 56 kB / 438.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.2436, allocations: 115.6 kB / 438.5 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.2438, allocations: 294.6 kB / 438.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007118/0.2446, allocations: 0.6441 MB / 439.4 MB, free: 8 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2446, allocations: 3.984 kB / 439.4 MB, free: 4 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2446, allocations: 0 / 439.4 MB, free: 4 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2446, allocations: 8.047 kB / 439.4 MB, free: 15.99 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001508/0.2461, allocations: 0.8501 MB / 440.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2461, allocations: 8.031 kB / 440.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.2462, allocations: 72.56 kB / 440.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.2469, allocations: 395 kB / 440.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.247, allocations: 66.84 kB / 440.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.2471, allocations: 32.38 kB / 440.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000779/0.2479, allocations: 457.1 kB / 441.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.2479, allocations: 4 kB / 441.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.2479, allocations: 16 kB / 441.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.2479, allocations: 8 kB / 441.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006206/0.2486, allocations: 282.4 kB / 441.6 MB, free: 13.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.002302/0.2509, allocations: 1.298 MB / 442.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.2521, allocations: 413.2 kB / 443.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.2524, allocations: 124.8 kB / 443.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.2524, allocations: 4 kB / 443.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.2524, allocations: 46.55 kB / 443.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.984e-06/0.2524, allocations: 0 / 443.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001263/0.2537, allocations: 0.6031 MB / 444 MB, free: 11.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002574/0.254, allocations: 448.9 kB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005559/0.2545, allocations: 453.9 kB / 444.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.2546, allocations: 33.7 kB / 445 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.2548, allocations: 232.7 kB / 445.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.2549, allocations: 115 kB / 445.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.255, allocations: 81.97 kB / 445.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.2552, allocations: 358.8 kB / 445.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.2555, allocations: 104.6 kB / 445.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/0.2559, allocations: 248.1 kB / 446.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005334/0.2564, allocations: 277.2 kB / 446.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2564, allocations: 0 / 446.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007805/0.2572, allocations: 416.6 kB / 446.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.2572, allocations: 37.69 kB / 446.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2572, allocations: 0 / 446.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002214/0.2575, allocations: 49.69 kB / 446.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.2578, allocations: 71.89 kB / 446.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.2607, allocations: 2.969 MB / 449.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.2611, allocations: 47.8 kB / 449.9 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.2611, allocations: 16 kB / 449.9 MB, free: 4.605 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002409/0.2613, allocations: 162 kB / 450.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.2614, allocations: 55.67 kB / 450.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.2615, allocations: 56.77 kB / 450.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2615, allocations: 7.938 kB / 450.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2616, allocations: 3.938 kB / 450.2 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007726/0.2623, allocations: 0.6453 MB / 450.9 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.2637, allocations: 0.901 MB / 451.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2637, allocations: 3.938 kB / 451.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.2641, allocations: 67.91 kB / 451.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2641, allocations: 0 / 451.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.2641, allocations: 11.98 kB / 451.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2641, allocations: 0 / 451.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2641, allocations: 4 kB / 451.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/0.265, allocations: 0.5174 MB / 452.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.2653, allocations: 164.7 kB / 452.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.2653, allocations: 8 kB / 452.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.2656, allocations: 19.98 kB / 452.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.2657, allocations: 19.97 kB / 452.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.2657, allocations: 12.06 kB / 452.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003788/0.2661, allocations: 323.1 kB / 452.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2661, allocations: 0 / 452.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004509/0.2665, allocations: 131.9 kB / 453 MB, free: 1.309 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0001297/0.2667, allocations: 103.5 kB / 453.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009805/0.2677, allocations: 0.559 MB / 453.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2677, allocations: 0 / 453.7 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.2679, allocations: 123.8 kB / 453.8 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006629/0.2686, allocations: 133.8 kB / 453.9 MB, free: 356 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.2702, allocations: 0.8837 MB / 454.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.2707, allocations: 0.8159 MB / 455.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002205/0.2709, allocations: 64.34 kB / 455.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.271, allocations: 51.36 kB / 455.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.271, allocations: 0 / 455.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of Templates: time 0.01616/0.2872, allocations: 8.39 MB / 464.1 MB, free: 6.238 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.658103567082435]