Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.001726/0.001726, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002173/0.002173, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.437/1.437, 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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [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.002005/0.002005, allocations: 64.78 kB / 379 MB, free: 2.641 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2309, allocations: 53.37 MB / 432.4 MB, free: 6.938 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00614/0.237, allocations: 4.987 MB / 437.4 MB, free: 1.934 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002167/0.2392, allocations: 1.326 MB / 438.7 MB, free: 0.6016 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.2394, allocations: 11.94 kB / 438.7 MB, free: 0.5898 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.2398, allocations: 162.5 kB / 438.9 MB, free: 440 kB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005708/0.2404, allocations: 325.2 kB / 439.2 MB, free: 112 kB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.2408, allocations: 235.6 kB / 439.4 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001294/0.2421, allocations: 1.16 MB / 440.6 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.2424, allocations: 226.6 kB / 440.8 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004563/0.2429, allocations: 458.5 kB / 441.3 MB, free: 14.03 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000634/0.2435, allocations: 0.4941 MB / 441.8 MB, free: 13.53 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.2437, allocations: 104 kB / 441.9 MB, free: 13.43 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.2438, allocations: 100 kB / 442 MB, free: 13.33 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.244, allocations: 235.2 kB / 442.2 MB, free: 13.1 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004779/0.2445, allocations: 0.5095 MB / 442.7 MB, free: 12.59 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001177/0.2457, allocations: 1.186 MB / 443.9 MB, free: 11.4 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2457, allocations: 3.938 kB / 443.9 MB, free: 11.4 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.192e-06/0.2457, allocations: 0 / 443.9 MB, free: 11.4 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.018e-05/0.2457, allocations: 0 / 443.9 MB, free: 11.4 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: 144
 * Number of variables: 144
Notification: Performance of Generate backend data structure: time 0.002293/0.248, allocations: 1.265 MB / 445.2 MB, free: 10.08 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.248, allocations: 12.03 kB / 445.2 MB, free: 10.07 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.2482, allocations: 108.3 kB / 445.3 MB, free: 9.965 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008676/0.2491, allocations: 0.4953 MB / 445.8 MB, free: 9.441 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.2493, allocations: 139 kB / 445.9 MB, free: 9.289 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.99e-05/0.2494, allocations: 60.38 kB / 446 MB, free: 9.23 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.2508, allocations: 0.844 MB / 446.8 MB, free: 8.285 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.2508, allocations: 0 / 446.8 MB, free: 8.285 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-05/0.2509, allocations: 28 kB / 446.8 MB, free: 8.258 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.2509, allocations: 16 kB / 446.9 MB, free: 8.242 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.2522, allocations: 0.5556 MB / 447.4 MB, free: 7.684 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.003493/0.2556, allocations: 2.062 MB / 449.5 MB, free: 5.527 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.2573, allocations: 0.6972 MB / 450.2 MB, free: 4.82 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/0.258, allocations: 342.4 kB / 450.5 MB, free: 4.484 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.903e-05/0.2581, allocations: 8.656 kB / 450.5 MB, free: 4.477 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.2581, allocations: 51.22 kB / 450.6 MB, free: 4.418 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=73): time 1.763e-06/0.2581, allocations: 0 / 450.6 MB, free: 4.418 MB / 350.1 MB
Notification: Performance of matching and sorting (n=73): time 0.004646/0.2628, allocations: 1.437 MB / 452 MB, free: 2.965 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004584/0.2632, allocations: 0.8272 MB / 452.8 MB, free: 1.941 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007842/0.264, allocations: 0.641 MB / 453.5 MB, free: 1.289 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.644e-05/0.2641, allocations: 45.7 kB / 453.5 MB, free: 1.238 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.2644, allocations: 329.5 kB / 453.8 MB, free: 0.9102 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.2646, allocations: 265.7 kB / 454.1 MB, free: 0.6484 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.2648, allocations: 150.6 kB / 454.2 MB, free: 0.4961 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001967/0.265, allocations: 386.7 kB / 454.6 MB, free: 112 kB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.2656, allocations: 250 kB / 454.9 MB, free: 15.86 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000823/0.2664, allocations: 0.5273 MB / 455.4 MB, free: 15.23 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.2676, allocations: 0.6349 MB / 456 MB, free: 14.57 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2676, allocations: 0 / 456 MB, free: 14.57 MB / 366.1 MB
Notification: Performance of matching and sorting (n=86) (initialization): time 0.002436/0.27, allocations: 1.048 MB / 457.1 MB, free: 13.48 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.017e-05/0.2701, allocations: 89.09 kB / 457.2 MB, free: 13.38 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2701, allocations: 0 / 457.2 MB, free: 13.38 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007089/0.2708, allocations: 235.2 kB / 457.4 MB, free: 13.14 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/0.2714, allocations: 127.8 kB / 457.5 MB, free: 13.01 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008184/0.2795, allocations: 6.523 MB / 464 MB, free: 6.031 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007226/0.2803, allocations: 91.52 kB / 464.1 MB, free: 5.941 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.2803, allocations: 28 kB / 464.2 MB, free: 5.914 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.0003323/0.2807, allocations: 210.5 kB / 464.4 MB, free: 5.699 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.2808, allocations: 103.4 kB / 464.5 MB, free: 5.598 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.281, allocations: 91.33 kB / 464.6 MB, free: 5.504 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.281, allocations: 11.94 kB / 464.6 MB, free: 5.492 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.281, allocations: 0 / 464.6 MB, free: 5.492 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002306/0.2833, allocations: 1.175 MB / 465.7 MB, free: 4.203 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/0.287, allocations: 1.831 MB / 467.6 MB, free: 2.301 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.287, allocations: 0 / 467.6 MB, free: 2.301 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/0.2876, allocations: 127.9 kB / 467.7 MB, free: 2.176 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005377/0.2881, allocations: 194.5 kB / 467.9 MB, free: 1.977 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.2882, allocations: 15.98 kB / 467.9 MB, free: 1.961 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006317/0.2945, allocations: 5.017 MB / 472.9 MB, free: 12.61 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2945, allocations: 3.938 kB / 472.9 MB, free: 12.6 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/0.2974, allocations: 1.313 MB / 474.2 MB, free: 11.26 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.2978, allocations: 167.2 kB / 474.4 MB, free: 11.09 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.2979, allocations: 24 kB / 474.4 MB, free: 11.07 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005838/0.2985, allocations: 39.97 kB / 474.5 MB, free: 11.03 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.2986, allocations: 64.53 kB / 474.5 MB, free: 10.97 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.2987, allocations: 19.94 kB / 474.5 MB, free: 10.95 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0005879/0.2993, allocations: 463 kB / 475 MB, free: 10.5 MB / 382.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.2993, allocations: 0 / 475 MB, free: 10.5 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0008055/0.3001, allocations: 283.8 kB / 475.3 MB, free: 10.23 MB / 382.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.0001713/0.3002, allocations: 123.3 kB / 475.4 MB, free: 10.09 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.001976/0.3022, allocations: 1.254 MB / 476.6 MB, free: 8.75 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.3022, allocations: 8.125 kB / 476.7 MB, free: 8.742 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001002/0.3032, allocations: 0.6675 MB / 477.3 MB, free: 8.039 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009122/0.3041, allocations: 218.9 kB / 477.5 MB, free: 7.824 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.307, allocations: 1.647 MB / 479.2 MB, free: 6.137 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.3075, allocations: 0.9401 MB / 480.1 MB, free: 5.172 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0003661/0.3079, allocations: 98.44 kB / 480.2 MB, free: 5.07 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.3081, allocations: 67.42 kB / 480.3 MB, free: 5.004 MB / 382.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.3081, allocations: 0 / 480.3 MB, free: 5.004 MB / 382.1 MB
Notification: Performance of Templates: time 0.03006/0.3382, allocations: 18.7 MB / 499 MB, free: 2.582 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.287160308100283]