Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 107.6 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 205.1 kB / 24.48 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 258.2 MB, free: 7.797 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 55.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2488, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004915/0.2537, allocations: 3.204 MB / 435.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.2557, allocations: 0.9306 MB / 436.5 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/0.2559, allocations: 11.94 kB / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.2563, allocations: 107.1 kB / 436.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004652/0.2568, allocations: 198.3 kB / 436.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/0.2571, allocations: 111.8 kB / 436.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008046/0.2579, allocations: 0.6496 MB / 437.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.2581, allocations: 123.5 kB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003259/0.2585, allocations: 251.1 kB / 437.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.2588, allocations: 278.8 kB / 438.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.2589, allocations: 56 kB / 438.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.259, allocations: 52 kB / 438.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.2591, allocations: 119.6 kB / 438.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002692/0.2594, allocations: 243 kB / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007755/0.2602, allocations: 0.6525 MB / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2602, allocations: 0 / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2602, allocations: 0 / 439.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.2602, allocations: 4 kB / 439.3 MB, free: 15.71 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.001471/0.2617, allocations: 0.7788 MB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2617, allocations: 8.031 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.2618, allocations: 64.56 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000671/0.2625, allocations: 345.2 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.2627, allocations: 114.2 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/0.2627, allocations: 32.38 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009864/0.2637, allocations: 0.8229 MB / 441.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2637, allocations: 0 / 441.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.2638, allocations: 16 kB / 441.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.2638, allocations: 8 kB / 441.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000595/0.2644, allocations: 282.4 kB / 441.7 MB, free: 13.03 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.002002/0.2664, allocations: 0.9478 MB / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.2675, allocations: 342.1 kB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.2678, allocations: 128.1 kB / 443.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.2678, allocations: 8 kB / 443.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2678, allocations: 42.56 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.2678, allocations: 0 / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001168/0.269, allocations: 448.2 kB / 443.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002462/0.2692, allocations: 445 kB / 444.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.2697, allocations: 409.6 kB / 444.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.2698, allocations: 33.7 kB / 444.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.27, allocations: 248.4 kB / 444.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.2701, allocations: 111 kB / 444.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.2702, allocations: 78.02 kB / 444.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.2704, allocations: 354.8 kB / 445.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.2707, allocations: 138.2 kB / 445.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005965/0.2712, allocations: 0.6516 MB / 446.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005231/0.2718, allocations: 285.2 kB / 446.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2718, allocations: 0 / 446.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007926/0.2726, allocations: 446.3 kB / 446.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.2726, allocations: 33.69 kB / 446.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.2726, allocations: 0 / 446.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001707/0.2728, allocations: 45.7 kB / 446.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.2731, allocations: 71.89 kB / 446.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.2758, allocations: 2.696 MB / 449.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.2762, allocations: 47.8 kB / 449.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.2763, allocations: 8 kB / 449.7 MB, free: 4.469 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.0002408/0.2765, allocations: 173.9 kB / 449.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/0.2766, allocations: 47.72 kB / 449.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.2767, allocations: 44.38 kB / 449.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2767, allocations: 4 kB / 449.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2767, allocations: 0 / 449.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007467/0.2775, allocations: 0.6495 MB / 450.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.2788, allocations: 0.755 MB / 451.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2788, allocations: 4 kB / 451.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.2791, allocations: 67.89 kB / 451.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2791, allocations: 0 / 451.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.2792, allocations: 4 kB / 451.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2792, allocations: 8 kB / 451.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2792, allocations: 3.938 kB / 451.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008929/0.2801, allocations: 0.5215 MB / 451.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.2803, allocations: 83.64 kB / 452 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.2803, allocations: 11.98 kB / 452 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.2806, allocations: 15.94 kB / 452.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.2807, allocations: 23.89 kB / 452.1 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.2807, allocations: 8 kB / 452.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003342/0.281, allocations: 283.2 kB / 452.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.281, allocations: 0 / 452.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000502/0.2815, allocations: 139.8 kB / 452.5 MB, free: 1.473 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.0001288/0.2816, allocations: 107.2 kB / 452.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009799/0.2826, allocations: 0.5765 MB / 453.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.2826, allocations: 0 / 453.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.2829, allocations: 119.8 kB / 453.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.2835, allocations: 125.3 kB / 453.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.2852, allocations: 0.9126 MB / 454.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.2854, allocations: 212.4 kB / 454.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.2855, allocations: 47.36 kB / 454.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2855, allocations: 0 / 454.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Templates: time 0.01293/0.2984, allocations: 8.261 MB / 462.8 MB, free: 7.07 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.689184524002485]