Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002759/0.00276, allocations: 195 kB / 18.07 MB, free: 3.641 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.13/3.13, allocations: 226.5 MB / 245.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 94.84 kB / 297.4 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007075/0.000708, allocations: 11.98 kB / 357.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5625/0.5633, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/0.7796, allocations: 81.81 MB / 490.5 MB, free: 9.789 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004563/0.7801, allocations: 72.66 kB / 490.5 MB, free: 9.719 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05941/0.8396, allocations: 15.96 MB / 0.4946 GB, free: 9.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.492e-06/0.8396, allocations: 4 kB / 0.4946 GB, free: 9.645 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.374e-05/0.8397, allocations: 15.98 kB / 0.4946 GB, free: 9.629 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.003101/0.8428, allocations: 1.166 MB / 0.4958 GB, free: 8.387 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.8429, allocations: 12.03 kB / 0.4958 GB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/0.8432, allocations: 103.8 kB / 0.4959 GB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.8445, allocations: 0.5396 MB / 0.4964 GB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003123/0.8448, allocations: 151 kB / 0.4966 GB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.845, allocations: 56.38 kB / 0.4966 GB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.8471, allocations: 0.8491 MB / 0.4974 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.8471, allocations: 3.938 kB / 0.4974 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.8473, allocations: 28 kB / 0.4975 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.8473, allocations: 16 kB / 0.4975 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.8491, allocations: 0.579 MB / 0.4981 GB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005625/0.8548, allocations: 2.1 MB / 0.5001 GB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/0.8577, allocations: 1.004 MB / 0.5011 GB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.8589, allocations: 391 kB / 0.5015 GB, free: 2.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.734e-05/0.859, allocations: 16.72 kB / 0.5015 GB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.012e-05/0.8591, allocations: 55.8 kB / 0.5015 GB, free: 2.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 5.38e-06/0.8591, allocations: 0 / 0.5015 GB, free: 2.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.007367/0.8665, allocations: 1.847 MB / 0.5033 GB, free: 244 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4511/1.318, allocations: 0.8253 MB / 0.5041 GB, free: 90.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/1.32, allocations: 0.6313 MB / 0.5048 GB, free: 90.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003033/1.32, allocations: 44.48 kB / 0.5048 GB, free: 90.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/1.32, allocations: 328.3 kB / 0.5051 GB, free: 90.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/1.321, allocations: 266 kB / 0.5054 GB, free: 90.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/1.321, allocations: 14.59 kB / 0.5054 GB, free: 90.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002196/1.321, allocations: 388.7 kB / 0.5057 GB, free: 89.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/1.322, allocations: 258.5 kB / 0.506 GB, free: 89.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/1.324, allocations: 0.5368 MB / 0.5065 GB, free: 89.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/1.326, allocations: 0.6616 MB / 0.5072 GB, free: 89.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/1.326, allocations: 0 / 0.5072 GB, free: 89.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004494/1.33, allocations: 1.117 MB / 0.5083 GB, free: 89.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.515e-05/1.33, allocations: 88.73 kB / 0.5083 GB, free: 89.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.33, allocations: 2.531 kB / 0.5083 GB, free: 89.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/1.332, allocations: 249.7 kB / 0.5086 GB, free: 89.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.333, allocations: 130.5 kB / 0.5087 GB, free: 89.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/1.343, allocations: 6.484 MB / 0.515 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/1.345, allocations: 109.6 kB / 0.5151 GB, free: 84.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/1.345, allocations: 20.84 kB / 0.5152 GB, free: 84.05 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.0007582/1.346, allocations: 219.8 kB / 0.5154 GB, free: 83.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/1.346, allocations: 95.59 kB / 0.5155 GB, free: 83.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/1.346, allocations: 95.5 kB / 0.5156 GB, free: 83.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/1.347, allocations: 7.406 kB / 0.5156 GB, free: 83.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.347, allocations: 0 / 0.5156 GB, free: 83.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003175/1.35, allocations: 1.259 MB / 0.5168 GB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005631/1.355, allocations: 1.953 MB / 0.5187 GB, free: 82.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/1.355, allocations: 0 / 0.5187 GB, free: 82.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.356, allocations: 129.1 kB / 0.5188 GB, free: 82.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007779/1.357, allocations: 213.9 kB / 0.519 GB, free: 82.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.724e-05/1.357, allocations: 17.62 kB / 0.519 GB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/1.37, allocations: 5.066 MB / 0.524 GB, free: 78.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.37, allocations: 7.281 kB / 0.524 GB, free: 78.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004608/1.375, allocations: 1.399 MB / 0.5254 GB, free: 77.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008545/1.376, allocations: 237.9 kB / 0.5256 GB, free: 77.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/1.376, allocations: 17.38 kB / 0.5256 GB, free: 77.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008794/1.377, allocations: 54.88 kB / 0.5257 GB, free: 77.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003459/1.377, allocations: 56.56 kB / 0.5257 GB, free: 77.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.406e-05/1.377, allocations: 20.53 kB / 0.5257 GB, free: 77.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009744/1.378, allocations: 454.8 kB / 0.5262 GB, free: 76.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.92e-07/1.378, allocations: 0 / 0.5262 GB, free: 76.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001914/1.38, allocations: 283.4 kB / 0.5264 GB, free: 76.94 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.0003662/1.381, allocations: 138.3 kB / 0.5266 GB, free: 76.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002992/1.384, allocations: 1.322 MB / 0.5279 GB, free: 75.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.384, allocations: 0 / 0.5279 GB, free: 75.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/1.386, allocations: 0.7582 MB / 0.5286 GB, free: 75.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/1.388, allocations: 218.6 kB / 0.5288 GB, free: 75.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/1.393, allocations: 1.949 MB / 0.5307 GB, free: 74.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/1.393, allocations: 0.94 MB / 0.5316 GB, free: 73.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/1.394, allocations: 76.02 kB / 0.5317 GB, free: 73.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.974e-06/1.394, allocations: 0 / 0.5317 GB, free: 73.52 MB / 378.7 MB Notification: Performance of Templates: time 0.04356/1.438, allocations: 21.79 MB / 0.553 GB, free: 54.18 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches