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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 176.6 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 241.4 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007658/0.0007658, allocations: 103.8 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002879/0.0002879, allocations: 8 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2019, allocations: 50.41 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09235/0.2943, allocations: 81.09 MB / 483.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.2945, allocations: 71.97 kB / 483.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04207/0.3366, allocations: 15.9 MB / 499.8 MB, free: 15.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3367, allocations: 0 / 499.8 MB, free: 15.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.148e-05/0.3368, allocations: 27.92 kB / 499.8 MB, free: 15.15 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.002566/0.3393, allocations: 1.146 MB / 0.4892 GB, free: 13.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3394, allocations: 12.03 kB / 0.4893 GB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003089/0.3397, allocations: 103.8 kB / 0.4894 GB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009768/0.3407, allocations: 0.5434 MB / 0.4899 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.3409, allocations: 155 kB / 0.49 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.3411, allocations: 60.38 kB / 0.4901 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.3425, allocations: 0.8414 MB / 0.4909 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.3425, allocations: 7.938 kB / 0.4909 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.621e-05/0.3426, allocations: 28 kB / 0.4909 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.3426, allocations: 16 kB / 0.491 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.3438, allocations: 0.5829 MB / 0.4915 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.3472, allocations: 2.103 MB / 0.4936 GB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.349, allocations: 0.9983 MB / 0.4946 GB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006836/0.3497, allocations: 391 kB / 0.4949 GB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/0.3498, allocations: 12.72 kB / 0.4949 GB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.3498, allocations: 55.22 kB / 0.495 GB, free: 7.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.555e-06/0.3498, allocations: 0 / 0.495 GB, free: 7.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.004597/0.3544, allocations: 1.855 MB / 0.4968 GB, free: 5.758 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002989/0.3547, allocations: 0.8272 MB / 0.4976 GB, free: 4.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007621/0.3555, allocations: 0.6332 MB / 0.4982 GB, free: 4.094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.561e-05/0.3556, allocations: 45.7 kB / 0.4983 GB, free: 4.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.3558, allocations: 325.2 kB / 0.4986 GB, free: 3.719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.356, allocations: 260.1 kB / 0.4988 GB, free: 3.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.3561, allocations: 12 kB / 0.4988 GB, free: 3.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3563, allocations: 398.7 kB / 0.4992 GB, free: 3.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/0.3568, allocations: 258 kB / 0.4995 GB, free: 2.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007818/0.3576, allocations: 0.5351 MB / 0.5 GB, free: 2.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.3588, allocations: 0.6545 MB / 0.5006 GB, free: 1.477 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.3588, allocations: 4 kB / 0.5006 GB, free: 1.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002347/0.3611, allocations: 1.11 MB / 0.5017 GB, free: 332 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.999e-05/0.3612, allocations: 85.09 kB / 0.5018 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.3612, allocations: 4 kB / 0.5018 GB, free: 224 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1589/0.5201, allocations: 254.6 kB / 0.5021 GB, free: 94.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/0.5209, allocations: 130.7 kB / 0.5022 GB, free: 94.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006599/0.5275, allocations: 6.49 MB / 0.5085 GB, free: 89.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000769/0.5283, allocations: 111.1 kB / 0.5086 GB, free: 89.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.5284, allocations: 23.98 kB / 0.5086 GB, free: 89.9 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.0003525/0.5287, allocations: 215.8 kB / 0.5088 GB, free: 89.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5289, allocations: 89.62 kB / 0.5089 GB, free: 89.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.529, allocations: 95.42 kB / 0.509 GB, free: 89.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.529, allocations: 6.875 kB / 0.509 GB, free: 89.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.529, allocations: 5.312 kB / 0.509 GB, free: 89.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002294/0.5313, allocations: 1.251 MB / 0.5103 GB, free: 89.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.5347, allocations: 1.947 MB / 0.5122 GB, free: 88.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5347, allocations: 6.188 kB / 0.5122 GB, free: 88.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.5353, allocations: 130.9 kB / 0.5123 GB, free: 88.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004698/0.5357, allocations: 215.9 kB / 0.5125 GB, free: 88.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.5358, allocations: 15.31 kB / 0.5125 GB, free: 88.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004895/0.5407, allocations: 5.073 MB / 0.5175 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5407, allocations: 0 / 0.5175 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.5434, allocations: 1.401 MB / 0.5188 GB, free: 84.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.5437, allocations: 239.8 kB / 0.5191 GB, free: 84.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.961e-05/0.5438, allocations: 23.33 kB / 0.5191 GB, free: 84.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.5443, allocations: 45.95 kB / 0.5191 GB, free: 84.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.5444, allocations: 62.88 kB / 0.5192 GB, free: 84.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.5445, allocations: 16.34 kB / 0.5192 GB, free: 84.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004925/0.545, allocations: 463.3 kB / 0.5196 GB, free: 84.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.545, allocations: 0 / 0.5196 GB, free: 84.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008278/0.5458, allocations: 289.5 kB / 0.5199 GB, free: 84.02 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.000181/0.546, allocations: 132.4 kB / 0.52 GB, free: 83.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.5477, allocations: 1.308 MB / 0.5213 GB, free: 83.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.5478, allocations: 0 / 0.5213 GB, free: 83.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.5489, allocations: 0.7702 MB / 0.5221 GB, free: 82.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.5499, allocations: 214.8 kB / 0.5223 GB, free: 82.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.5525, allocations: 1.93 MB / 0.5242 GB, free: 81.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.5529, allocations: 0.9334 MB / 0.5251 GB, free: 80.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004421/0.5534, allocations: 91.94 kB / 0.5252 GB, free: 80.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.5535, allocations: 62.69 kB / 0.5252 GB, free: 80.66 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5535, allocations: 0 / 0.5252 GB, free: 80.66 MB / 378.7 MB Notification: Performance of Templates: time 0.02019/0.5737, allocations: 15.98 MB / 0.5408 GB, free: 68.93 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (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) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches