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.00152/0.001519, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 225.4 MB / 240.1 MB, free: 15.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008729/0.0008728, allocations: 82.8 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.105e-05, allocations: 8 kB / 350.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 51.48 MB / 402 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3393/0.4549, allocations: 81.79 MB / 483.8 MB, free: 7.723 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.4553, allocations: 76.05 kB / 483.9 MB, free: 7.688 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04157/0.4968, allocations: 15.95 MB / 499.8 MB, free: 9.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4969, allocations: 0 / 499.8 MB, free: 9.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.013e-05/0.497, allocations: 16.56 kB / 499.9 MB, free: 9.395 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.002603/0.4996, allocations: 1.044 MB / 0.4892 GB, free: 8.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.4997, allocations: 12.03 kB / 0.4892 GB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003995/0.5001, allocations: 105.9 kB / 0.4893 GB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.5013, allocations: 0.516 MB / 0.4898 GB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.5016, allocations: 146.4 kB / 0.4899 GB, free: 7.461 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.5017, allocations: 66.62 kB / 0.49 GB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.503, allocations: 0.7925 MB / 0.4908 GB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.503, allocations: 4 kB / 0.4908 GB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/0.5031, allocations: 24 kB / 0.4908 GB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.5031, allocations: 12 kB / 0.4908 GB, free: 6.465 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008791/0.504, allocations: 0.4972 MB / 0.4913 GB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003787/0.5078, allocations: 2.104 MB / 0.4933 GB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.5095, allocations: 0.9068 MB / 0.4942 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.51, allocations: 342 kB / 0.4945 GB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.975e-05/0.5101, allocations: 16.77 kB / 0.4946 GB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.5102, allocations: 51.34 kB / 0.4946 GB, free: 2.387 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 4.548e-06/0.5102, allocations: 0 / 0.4946 GB, free: 2.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002252/0.5125, allocations: 0.8772 MB / 0.4955 GB, free: 1.488 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004401/0.5129, allocations: 0.8235 MB / 0.4963 GB, free: 480 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008355/0.5138, allocations: 0.5506 MB / 0.4968 GB, free: 15.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.896e-05/0.5139, allocations: 49.7 kB / 0.4969 GB, free: 15.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.5141, allocations: 329.2 kB / 0.4972 GB, free: 15.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.5144, allocations: 260.1 kB / 0.4974 GB, free: 15.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.5145, allocations: 19.94 kB / 0.4974 GB, free: 15.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.5147, allocations: 386.7 kB / 0.4978 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.5151, allocations: 213.6 kB / 0.498 GB, free: 14.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006743/0.5158, allocations: 497.7 kB / 0.4985 GB, free: 14.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005296/0.5163, allocations: 349.5 kB / 0.4988 GB, free: 13.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5164, allocations: 0 / 0.4988 GB, free: 13.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002263/0.5186, allocations: 1.027 MB / 0.4998 GB, free: 12.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/0.5187, allocations: 93.09 kB / 0.4999 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.5187, allocations: 0 / 0.4999 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006813/0.5194, allocations: 211.2 kB / 0.5001 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/0.52, allocations: 137.3 kB / 0.5002 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008124/0.5282, allocations: 6.246 MB / 0.5063 GB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.5295, allocations: 108.1 kB / 0.5064 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.5297, allocations: 24 kB / 0.5065 GB, free: 5.285 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 () * 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 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000303/0.53, allocations: 160.7 kB / 0.5066 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/0.5303, allocations: 94.92 kB / 0.5067 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/0.5307, allocations: 96.05 kB / 0.5068 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.5307, allocations: 8 kB / 0.5068 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.5307, allocations: 4 kB / 0.5068 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002193/0.5329, allocations: 1.162 MB / 0.5079 GB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/0.537, allocations: 1.852 MB / 0.5098 GB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.5371, allocations: 7.938 kB / 0.5098 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/0.5377, allocations: 127.9 kB / 0.5099 GB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004505/0.5382, allocations: 170.5 kB / 0.51 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.766e-05/0.5382, allocations: 19.92 kB / 0.5101 GB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005725/0.544, allocations: 4.801 MB / 0.5148 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.544, allocations: 0 / 0.5148 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.5469, allocations: 1.294 MB / 0.516 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006413/0.5476, allocations: 243.8 kB / 0.5162 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/0.5479, allocations: 16.19 kB / 0.5163 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006658/0.5486, allocations: 51.97 kB / 0.5163 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.5488, allocations: 68.56 kB / 0.5164 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.5488, allocations: 20 kB / 0.5164 GB, free: 10.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007277/0.5496, allocations: 451.2 kB / 0.5168 GB, free: 10.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5496, allocations: 0 / 0.5168 GB, free: 10.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00117/0.5507, allocations: 287.8 kB / 0.5171 GB, free: 9.727 MB / 394.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 () * 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.0002546/0.551, allocations: 138.1 kB / 0.5172 GB, free: 9.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00199/0.553, allocations: 1.228 MB / 0.5184 GB, free: 8.266 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.553, allocations: 4.062 kB / 0.5184 GB, free: 8.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.5542, allocations: 0.7151 MB / 0.5191 GB, free: 7.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.5554, allocations: 204.2 kB / 0.5193 GB, free: 7.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.558, allocations: 1.234 MB / 0.5205 GB, free: 6.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.5587, allocations: 0.9558 MB / 0.5215 GB, free: 5.066 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005015/0.5592, allocations: 90.3 kB / 0.5216 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.5594, allocations: 67.42 kB / 0.5216 GB, free: 4.91 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5594, allocations: 0 / 0.5216 GB, free: 4.91 MB / 394.7 MB Notification: Performance of Templates: time 0.02914/0.5885, allocations: 15.83 MB / 0.5371 GB, free: 5.402 MB / 410.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/jenkins/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