Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 208.3 kB / 18.11 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 226.5 MB / 245.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007597/0.0007597, allocations: 98.78 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001983/0.0001983, allocations: 4 kB / 358.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1948, allocations: 51.29 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09277/0.2876, allocations: 81.81 MB / 491.2 MB, free: 9.727 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.2879, allocations: 67.97 kB / 491.2 MB, free: 9.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04006/0.328, allocations: 15.95 MB / 0.4953 GB, free: 9.594 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.328, allocations: 4 kB / 0.4953 GB, free: 9.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.579e-05/0.3281, allocations: 19.98 kB / 0.4953 GB, free: 9.57 MB / 378.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.001996/0.3301, allocations: 1.158 MB / 0.4965 GB, free: 8.336 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3301, allocations: 12.03 kB / 0.4965 GB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3303, allocations: 107.8 kB / 0.4966 GB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007815/0.3311, allocations: 0.5396 MB / 0.4971 GB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.3313, allocations: 155 kB / 0.4973 GB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-05/0.3314, allocations: 60.38 kB / 0.4973 GB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.3327, allocations: 0.8453 MB / 0.4981 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.3327, allocations: 7.875 kB / 0.4981 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.356e-05/0.3328, allocations: 28 kB / 0.4982 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.3328, allocations: 19.98 kB / 0.4982 GB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.334, allocations: 0.5829 MB / 0.4988 GB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.3373, allocations: 2.092 MB / 0.5008 GB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.339, allocations: 1.012 MB / 0.5018 GB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00067/0.3397, allocations: 393.8 kB / 0.5022 GB, free: 2.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-05/0.3398, allocations: 12.72 kB / 0.5022 GB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.3398, allocations: 51.2 kB / 0.5022 GB, free: 2.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.254e-06/0.3398, allocations: 3.938 kB / 0.5022 GB, free: 2.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.004557/0.3444, allocations: 1.855 MB / 0.504 GB, free: 168 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1677/0.5121, allocations: 0.8207 MB / 0.5048 GB, free: 90.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.5134, allocations: 0.6317 MB / 0.5055 GB, free: 90.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002362/0.5137, allocations: 44.52 kB / 0.5055 GB, free: 90.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.5139, allocations: 326.9 kB / 0.5058 GB, free: 90.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.5142, allocations: 260 kB / 0.5061 GB, free: 89.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.5142, allocations: 15.88 kB / 0.5061 GB, free: 89.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5144, allocations: 392.1 kB / 0.5064 GB, free: 89.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006378/0.515, allocations: 257.1 kB / 0.5067 GB, free: 89.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008788/0.5159, allocations: 0.5342 MB / 0.5072 GB, free: 89.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.5174, allocations: 0.661 MB / 0.5079 GB, free: 89.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.5174, allocations: 0 / 0.5079 GB, free: 89.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002987/0.5204, allocations: 1.116 MB / 0.509 GB, free: 89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.104e-05/0.5205, allocations: 89.61 kB / 0.509 GB, free: 88.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.5205, allocations: 1.125 kB / 0.509 GB, free: 88.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008112/0.5213, allocations: 245.9 kB / 0.5093 GB, free: 88.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005705/0.5219, allocations: 130.2 kB / 0.5094 GB, free: 88.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006404/0.5283, allocations: 6.488 MB / 0.5157 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006627/0.529, allocations: 107.8 kB / 0.5158 GB, free: 83.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/0.529, allocations: 26.88 kB / 0.5159 GB, free: 83.75 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 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.5294, allocations: 218.5 kB / 0.5161 GB, free: 83.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.5295, allocations: 92.19 kB / 0.5162 GB, free: 83.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.5296, allocations: 96.42 kB / 0.5162 GB, free: 83.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5296, allocations: 7.719 kB / 0.5163 GB, free: 83.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5296, allocations: 0 / 0.5163 GB, free: 83.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001918/0.5316, allocations: 1.26 MB / 0.5175 GB, free: 82.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.5346, allocations: 1.949 MB / 0.5194 GB, free: 82.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.5346, allocations: 0 / 0.5194 GB, free: 82.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/0.5352, allocations: 133.7 kB / 0.5195 GB, free: 82.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000484/0.5357, allocations: 221.2 kB / 0.5197 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.5358, allocations: 19.16 kB / 0.5197 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005074/0.5408, allocations: 5.055 MB / 0.5247 GB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5409, allocations: 0 / 0.5247 GB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.5434, allocations: 1.408 MB / 0.5261 GB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.5437, allocations: 231.3 kB / 0.5263 GB, free: 76.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.78e-05/0.5438, allocations: 19.75 kB / 0.5263 GB, free: 76.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/0.5442, allocations: 54.22 kB / 0.5264 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.5444, allocations: 58.7 kB / 0.5264 GB, free: 76.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.5444, allocations: 23.2 kB / 0.5264 GB, free: 76.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004537/0.5449, allocations: 451.3 kB / 0.5269 GB, free: 76.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5449, allocations: 0 / 0.5269 GB, free: 76.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007772/0.5457, allocations: 282 kB / 0.5271 GB, free: 76.6 MB / 378.7 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 (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.0001932/0.5459, allocations: 138.6 kB / 0.5273 GB, free: 76.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.5475, allocations: 1.326 MB / 0.5286 GB, free: 75.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5475, allocations: 0 / 0.5286 GB, free: 75.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.5485, allocations: 0.7563 MB / 0.5293 GB, free: 75.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.5495, allocations: 224 kB / 0.5295 GB, free: 75.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.5519, allocations: 1.926 MB / 0.5314 GB, free: 73.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.5522, allocations: 0.9376 MB / 0.5323 GB, free: 73.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004003/0.5526, allocations: 92.33 kB / 0.5324 GB, free: 73.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.5528, allocations: 59.16 kB / 0.5324 GB, free: 73.2 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5528, allocations: 0 / 0.5324 GB, free: 73.2 MB / 378.7 MB Notification: Performance of Templates: time 0.02033/0.5731, allocations: 15.97 MB / 0.548 GB, free: 59.93 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches