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.001012/0.001012, allocations: 197.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.205/1.205, allocations: 227.2 MB / 245 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008536/0.0008535, allocations: 92.55 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002124/0.0002124, allocations: 4 kB / 357.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1991, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09069/0.2898, allocations: 81.86 MB / 491.3 MB, free: 8.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.29, allocations: 75.41 kB / 491.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0392/0.3292, allocations: 15.95 MB / 0.4954 GB, free: 8.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3293, allocations: 4 kB / 0.4954 GB, free: 8.594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.424e-05/0.3293, allocations: 16 kB / 0.4954 GB, free: 8.578 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.001835/0.3311, allocations: 1.177 MB / 0.4966 GB, free: 7.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3312, allocations: 11.97 kB / 0.4966 GB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.3314, allocations: 106.9 kB / 0.4967 GB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007625/0.3321, allocations: 0.5158 MB / 0.4972 GB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001875/0.3323, allocations: 154.4 kB / 0.4973 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/0.3324, allocations: 63.91 kB / 0.4974 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.3337, allocations: 0.8431 MB / 0.4982 GB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.3337, allocations: 4 kB / 0.4982 GB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.92e-05/0.3337, allocations: 24 kB / 0.4982 GB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.3338, allocations: 16 kB / 0.4983 GB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.3349, allocations: 0.5868 MB / 0.4988 GB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00299/0.3379, allocations: 2.092 MB / 0.5009 GB, free: 2.664 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.3397, allocations: 1.037 MB / 0.5019 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.267e-05/0.3397, allocations: 16.7 kB / 0.5019 GB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3398, allocations: 47.22 kB / 0.502 GB, free: 1.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.174e-06/0.3398, allocations: 0 / 0.502 GB, free: 1.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.1727/0.5125, allocations: 1.85 MB / 0.5038 GB, free: 90.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.5127, allocations: 0.8241 MB / 0.5046 GB, free: 89.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.5137, allocations: 0.5636 MB / 0.5051 GB, free: 89.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.5139, allocations: 45.89 kB / 0.5052 GB, free: 89.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.5142, allocations: 326.9 kB / 0.5055 GB, free: 89.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.5144, allocations: 256.6 kB / 0.5057 GB, free: 89.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.5144, allocations: 17.56 kB / 0.5057 GB, free: 89.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.5146, allocations: 384.8 kB / 0.5061 GB, free: 88.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005794/0.5151, allocations: 264.4 kB / 0.5064 GB, free: 88.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007254/0.5159, allocations: 0.5297 MB / 0.5069 GB, free: 88.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.5165, allocations: 391.9 kB / 0.5072 GB, free: 88.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5165, allocations: 0 / 0.5072 GB, free: 88.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002469/0.519, allocations: 1.117 MB / 0.5083 GB, free: 88.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.519, allocations: 85.12 kB / 0.5084 GB, free: 88.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5191, allocations: 1.656 kB / 0.5084 GB, free: 88.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006761/0.5197, allocations: 247.5 kB / 0.5087 GB, free: 88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.5204, allocations: 134.4 kB / 0.5088 GB, free: 88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006357/0.5267, allocations: 6.587 MB / 0.5152 GB, free: 82.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.5274, allocations: 104.8 kB / 0.5153 GB, free: 82.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.5274, allocations: 22.03 kB / 0.5153 GB, free: 82.87 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.0002815/0.5277, allocations: 222.7 kB / 0.5155 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.5278, allocations: 86.03 kB / 0.5156 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.528, allocations: 94.25 kB / 0.5157 GB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.528, allocations: 9.375 kB / 0.5157 GB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.528, allocations: 3.5 kB / 0.5157 GB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0019/0.5299, allocations: 1.263 MB / 0.517 GB, free: 82.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/0.5328, allocations: 1.909 MB / 0.5188 GB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5328, allocations: 2.375 kB / 0.5188 GB, free: 81.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/0.5334, allocations: 134.2 kB / 0.519 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004636/0.5339, allocations: 212.2 kB / 0.5192 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.534, allocations: 19.89 kB / 0.5192 GB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004826/0.5388, allocations: 5.136 MB / 0.5242 GB, free: 76.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5388, allocations: 0 / 0.5242 GB, free: 76.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.5412, allocations: 1.397 MB / 0.5256 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.5415, allocations: 239.7 kB / 0.5258 GB, free: 76.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.144e-05/0.5416, allocations: 18.53 kB / 0.5258 GB, free: 76.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.5421, allocations: 39.56 kB / 0.5258 GB, free: 76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.5422, allocations: 63.56 kB / 0.5259 GB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.5422, allocations: 24.31 kB / 0.5259 GB, free: 75.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004251/0.5427, allocations: 449.5 kB / 0.5264 GB, free: 75.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5427, allocations: 0 / 0.5264 GB, free: 75.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007429/0.5434, allocations: 295.4 kB / 0.5266 GB, free: 75.74 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.0001879/0.5436, allocations: 135.5 kB / 0.5268 GB, free: 75.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.5453, allocations: 1.328 MB / 0.5281 GB, free: 74.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5454, allocations: 2.719 kB / 0.5281 GB, free: 74.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.5464, allocations: 0.7655 MB / 0.5288 GB, free: 74.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/0.5471, allocations: 201.2 kB / 0.529 GB, free: 74.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.5494, allocations: 1.898 MB / 0.5309 GB, free: 73.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.5497, allocations: 0.9557 MB / 0.5318 GB, free: 72.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003625/0.5501, allocations: 90.34 kB / 0.5319 GB, free: 72.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.5503, allocations: 65.14 kB / 0.5319 GB, free: 72.36 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5503, allocations: 4 kB / 0.5319 GB, free: 72.35 MB / 378.7 MB Notification: Performance of Templates: time 0.01857/0.5688, allocations: 15.73 MB / 0.5473 GB, free: 59.2 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/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