Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002122/0.002122, allocations: 181.1 kB / 17.02 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 205.4 MB / 223.1 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 96.14 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002887, allocations: 4 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3359, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.4528, allocations: 81.78 MB / 457.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.453, allocations: 67.97 kB / 457.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04427/0.4973, allocations: 16.21 MB / 473.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4974, allocations: 0 / 473.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.193e-05/0.4974, allocations: 27.92 kB / 473.9 MB, free: 14.48 MB / 362.7 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.002944/0.5004, allocations: 1.158 MB / 475 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5004, allocations: 8.031 kB / 475 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003711/0.5008, allocations: 110.9 kB / 475.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.5019, allocations: 0.5197 MB / 475.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.5022, allocations: 146.4 kB / 475.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.5024, allocations: 63.91 kB / 475.9 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.5039, allocations: 0.84 MB / 476.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.5039, allocations: 3.984 kB / 476.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-05/0.504, allocations: 31.94 kB / 476.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.504, allocations: 16 kB / 476.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.5053, allocations: 0.5829 MB / 477.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003861/0.5092, allocations: 2.096 MB / 479.4 MB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.5112, allocations: 1.037 MB / 480.5 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.01e-05/0.5113, allocations: 12.72 kB / 480.5 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.046e-05/0.5114, allocations: 51.22 kB / 480.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.615e-06/0.5114, allocations: 0 / 480.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.005061/0.5164, allocations: 1.858 MB / 482.4 MB, free: 5.457 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004098/0.5169, allocations: 0.8195 MB / 483.2 MB, free: 4.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008334/0.5177, allocations: 0.562 MB / 483.8 MB, free: 3.871 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.469e-05/0.5178, allocations: 45.7 kB / 483.8 MB, free: 3.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.5181, allocations: 325.2 kB / 484.2 MB, free: 3.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.5184, allocations: 264.2 kB / 484.4 MB, free: 3.238 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.5184, allocations: 12 kB / 484.4 MB, free: 3.227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.5187, allocations: 386.8 kB / 484.8 MB, free: 2.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000586/0.5192, allocations: 257.9 kB / 485 MB, free: 2.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008439/0.5201, allocations: 0.5312 MB / 485.6 MB, free: 1.953 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.5208, allocations: 386.5 kB / 486 MB, free: 1.562 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5208, allocations: 3.938 kB / 486 MB, free: 1.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002545/0.5233, allocations: 1.122 MB / 487.1 MB, free: 404 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.333e-05/0.5235, allocations: 85.09 kB / 487.2 MB, free: 300 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.5235, allocations: 4 kB / 487.2 MB, free: 296 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007377/0.5242, allocations: 251.2 kB / 487.4 MB, free: 32 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.5249, allocations: 135.8 kB / 487.5 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008125/0.533, allocations: 6.588 MB / 494.1 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009644/0.534, allocations: 103.2 kB / 494.2 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.5341, allocations: 27.95 kB / 494.3 MB, free: 8.652 MB / 378.7 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 (71): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 1,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004655/0.5346, allocations: 229.6 kB / 494.5 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.5347, allocations: 87.06 kB / 494.6 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.5349, allocations: 88.06 kB / 494.7 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.535, allocations: 8 kB / 494.7 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.535, allocations: 0 / 494.7 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00242/0.5374, allocations: 1.264 MB / 495.9 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003863/0.5413, allocations: 1.925 MB / 497.9 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.5413, allocations: 0 / 497.9 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006752/0.542, allocations: 127.9 kB / 498 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005886/0.5426, allocations: 214.4 kB / 498.2 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.5426, allocations: 20 kB / 498.2 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2539/0.7966, allocations: 5.127 MB / 0.4915 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7966, allocations: 1.109 kB / 0.4915 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003757/0.8004, allocations: 1.393 MB / 0.4929 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004351/0.8009, allocations: 239.6 kB / 0.4931 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.737e-05/0.801, allocations: 16.78 kB / 0.4931 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/0.8014, allocations: 54.28 kB / 0.4932 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.8016, allocations: 60.23 kB / 0.4933 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.8017, allocations: 17 kB / 0.4933 GB, free: 104 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005838/0.8023, allocations: 456.1 kB / 0.4937 GB, free: 103.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8023, allocations: 0 / 0.4937 GB, free: 103.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001021/0.8033, allocations: 281.5 kB / 0.494 GB, free: 103.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002614/0.8036, allocations: 136.4 kB / 0.4941 GB, free: 103.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002067/0.8057, allocations: 1.329 MB / 0.4954 GB, free: 103.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.8057, allocations: 2.062 kB / 0.4954 GB, free: 103.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.8071, allocations: 0.7628 MB / 0.4962 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.8083, allocations: 206.5 kB / 0.4963 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.8117, allocations: 1.882 MB / 0.4982 GB, free: 102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.8123, allocations: 0.9534 MB / 0.4991 GB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005029/0.8128, allocations: 89.17 kB / 0.4992 GB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.813, allocations: 71.02 kB / 0.4993 GB, free: 101.3 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.813, allocations: 0.9688 kB / 0.4993 GB, free: 101.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02436/0.8374, allocations: 15.73 MB / 0.5146 GB, free: 96.67 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches