Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 190.9 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 39.94 kB / 370.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2353, allocations: 52.2 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006219/0.2415, allocations: 4.414 MB / 427.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.2437, allocations: 1.23 MB / 428.7 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002693/0.244, allocations: 15.88 kB / 428.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.2444, allocations: 162.6 kB / 428.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006073/0.245, allocations: 333.2 kB / 429.2 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.2454, allocations: 219.6 kB / 429.4 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.2466, allocations: 1.164 MB / 430.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.247, allocations: 216.1 kB / 430.8 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004951/0.2475, allocations: 458.5 kB / 431.3 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005888/0.2481, allocations: 437.9 kB / 431.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.2483, allocations: 100 kB / 431.8 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.2484, allocations: 104 kB / 431.9 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.2486, allocations: 227.2 kB / 432.1 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004622/0.2491, allocations: 450.1 kB / 432.5 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.2503, allocations: 1.187 MB / 433.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2503, allocations: 0 / 433.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2503, allocations: 0 / 433.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.2503, allocations: 3.938 kB / 433.7 MB, free: 3.754 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002372/0.2527, allocations: 1.269 MB / 435 MB, free: 2.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.2527, allocations: 11.97 kB / 435 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.2529, allocations: 116.3 kB / 435.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009144/0.2539, allocations: 499.3 kB / 435.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/0.2542, allocations: 297.2 kB / 435.9 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.2543, allocations: 60.33 kB / 436 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.2562, allocations: 1.604 MB / 437.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.2562, allocations: 0 / 437.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/0.2563, allocations: 28 kB / 437.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.2563, allocations: 16 kB / 437.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.2575, allocations: 0.5516 MB / 438.2 MB, free: 14.9 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.003205/0.2607, allocations: 1.559 MB / 439.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.2624, allocations: 0.6877 MB / 440.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000707/0.2632, allocations: 335.9 kB / 440.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.697e-05/0.2632, allocations: 16.64 kB / 440.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.2632, allocations: 47.22 kB / 440.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.305e-06/0.2633, allocations: 0.5469 kB / 440.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004832/0.2681, allocations: 1.433 MB / 442.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004858/0.2686, allocations: 0.8234 MB / 443.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007831/0.2694, allocations: 0.5656 MB / 443.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/0.2694, allocations: 41.7 kB / 443.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/0.2697, allocations: 349.1 kB / 444 MB, free: 8.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.27, allocations: 273.7 kB / 444.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/0.2702, allocations: 142.7 kB / 444.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.2704, allocations: 390.7 kB / 444.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/0.2711, allocations: 323 kB / 445.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.2725, allocations: 1.363 MB / 446.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.2737, allocations: 0.6349 MB / 447.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2737, allocations: 4 kB / 447.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002584/0.2763, allocations: 1.115 MB / 448.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.273e-05/0.2764, allocations: 89.11 kB / 448.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2764, allocations: 4 kB / 448.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007166/0.2771, allocations: 227.3 kB / 448.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/0.2777, allocations: 135.8 kB / 448.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008637/0.2863, allocations: 6.383 MB / 455.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000764/0.2871, allocations: 95.56 kB / 455.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.2871, allocations: 24.06 kB / 455.2 MB, free: 12.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003869/0.2875, allocations: 221.7 kB / 455.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.2877, allocations: 83.48 kB / 455.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.2879, allocations: 86.73 kB / 455.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.2879, allocations: 8 kB / 455.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2879, allocations: 0 / 455.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002398/0.2903, allocations: 1.182 MB / 456.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003723/0.294, allocations: 1.605 MB / 458.3 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.294, allocations: 0 / 458.3 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006277/0.2946, allocations: 131.9 kB / 458.5 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005674/0.2952, allocations: 198.4 kB / 458.7 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/0.2953, allocations: 12 kB / 458.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006494/0.3017, allocations: 4.905 MB / 463.6 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.3017, allocations: 8.188 kB / 463.6 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/0.3049, allocations: 1.305 MB / 464.9 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/0.3053, allocations: 163.2 kB / 465.1 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.3054, allocations: 16 kB / 465.1 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006067/0.306, allocations: 43.97 kB / 465.1 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.3062, allocations: 64.48 kB / 465.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.3062, allocations: 23.92 kB / 465.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005502/0.3067, allocations: 406.8 kB / 465.6 MB, free: 1.785 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3067, allocations: 0 / 465.6 MB, free: 1.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000881/0.3076, allocations: 287.7 kB / 465.9 MB, free: 1.504 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001809/0.3078, allocations: 123.2 kB / 466 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.31, allocations: 1.337 MB / 467.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.31, allocations: 0 / 467.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.311, allocations: 0.6716 MB / 468 MB, free: 15.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/0.3119, allocations: 218.9 kB / 468.2 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.3149, allocations: 1.631 MB / 469.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.3153, allocations: 341.3 kB / 470.2 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003858/0.3157, allocations: 97.95 kB / 470.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.3159, allocations: 63.42 kB / 470.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3159, allocations: 4 kB / 470.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of Templates: time 0.03205/0.3479, allocations: 19.44 MB / 489.8 MB, free: 9.77 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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: 5.307024227455258]