Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001499/0.001499, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.2 MB / 219.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001613/0.001613, allocations: 86.7 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.862e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08811/0.08817, allocations: 47.58 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3947/0.4829, allocations: 81.68 MB / 450.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.4832, allocations: 71.39 kB / 450.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07085/0.5541, allocations: 16.2 MB / 467 MB, free: 13.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5541, allocations: 0 / 467 MB, free: 13.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.368e-05/0.5542, allocations: 23.94 kB / 467.1 MB, free: 13.15 MB / 346.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.002952/0.5572, allocations: 1.038 MB / 468.1 MB, free: 12.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.5573, allocations: 8.031 kB / 468.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000403/0.5577, allocations: 106.9 kB / 468.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.5591, allocations: 0.5196 MB / 468.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/0.5595, allocations: 150.4 kB / 468.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.5597, allocations: 56 kB / 468.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.5616, allocations: 0.7964 MB / 469.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.5616, allocations: 3.984 kB / 469.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.5618, allocations: 28 kB / 469.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.5618, allocations: 19.94 kB / 469.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.5633, allocations: 0.4894 MB / 470.3 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005837/0.5692, allocations: 2.092 MB / 472.4 MB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.5718, allocations: 0.9193 MB / 473.3 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009781/0.5728, allocations: 347.5 kB / 473.6 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.573, allocations: 12.84 kB / 473.6 MB, free: 6.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/0.573, allocations: 55.34 kB / 473.7 MB, free: 6.117 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 4.409e-06/0.573, allocations: 0 / 473.7 MB, free: 6.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.003669/0.5767, allocations: 0.8827 MB / 474.6 MB, free: 5.219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003757/0.5771, allocations: 0.8196 MB / 475.4 MB, free: 4.199 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.5783, allocations: 0.5583 MB / 475.9 MB, free: 3.633 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002146/0.5786, allocations: 45.7 kB / 476 MB, free: 3.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.5789, allocations: 339.7 kB / 476.3 MB, free: 3.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000337/0.5792, allocations: 264.1 kB / 476.6 MB, free: 2.988 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.5793, allocations: 12 kB / 476.6 MB, free: 2.977 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5795, allocations: 342.8 kB / 476.9 MB, free: 2.633 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006861/0.5802, allocations: 213.6 kB / 477.1 MB, free: 2.426 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.5812, allocations: 493.7 kB / 477.6 MB, free: 1.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000841/0.5821, allocations: 353.8 kB / 478 MB, free: 1.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.5821, allocations: 3.938 kB / 478 MB, free: 1.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003713/0.5858, allocations: 0.9806 MB / 478.9 MB, free: 468 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.171e-05/0.586, allocations: 81.11 kB / 479 MB, free: 368 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.586, allocations: 4 kB / 479 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.5871, allocations: 219.2 kB / 479.2 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.5883, allocations: 135.8 kB / 479.4 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.5987, allocations: 6.24 MB / 485.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.6001, allocations: 103.4 kB / 485.7 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.6002, allocations: 28 kB / 485.7 MB, free: 9.098 MB / 362.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.0002994/0.6005, allocations: 148.9 kB / 485.9 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/0.6008, allocations: 98.86 kB / 486 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.6012, allocations: 92.19 kB / 486.1 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.6012, allocations: 11.98 kB / 486.1 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.6012, allocations: 4 kB / 486.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003409/0.6046, allocations: 1.162 MB / 487.2 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005948/0.6106, allocations: 1.855 MB / 489.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.6107, allocations: 192 / 489.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.612, allocations: 135.8 kB / 489.2 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008001/0.6128, allocations: 178.5 kB / 489.4 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.6129, allocations: 15.98 kB / 489.4 MB, free: 5.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008274/0.6212, allocations: 4.794 MB / 494.2 MB, free: 0 / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-05/0.6213, allocations: 4.188 kB / 494.2 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004452/0.6258, allocations: 1.296 MB / 495.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006591/0.6265, allocations: 239.8 kB / 495.8 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.6267, allocations: 20 kB / 495.8 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008726/0.6276, allocations: 47.97 kB / 495.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002541/0.6278, allocations: 64.64 kB / 495.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.636e-05/0.6279, allocations: 16 kB / 495.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008926/0.6288, allocations: 447.2 kB / 496.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6288, allocations: 3.938 kB / 496.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001369/0.6302, allocations: 287.7 kB / 496.6 MB, free: 13.54 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 () * 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.0003082/0.6305, allocations: 143.2 kB / 496.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00299/0.6335, allocations: 1.232 MB / 498 MB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.6336, allocations: 128 / 498 MB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.6356, allocations: 0.7151 MB / 498.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.6373, allocations: 209.7 kB / 498.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/0.6412, allocations: 1.268 MB / 0.4885 GB, free: 9.805 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006509/0.6419, allocations: 0.9519 MB / 0.4894 GB, free: 8.828 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/0.6423, allocations: 67.42 kB / 0.4895 GB, free: 8.762 MB / 378.7 MB Notification: Performance of SimCode: time 1.402e-06/0.6423, allocations: 0 / 0.4895 GB, free: 8.762 MB / 378.7 MB Notification: Performance of Templates: time 0.03985/0.6822, allocations: 20.75 MB / 0.5097 GB, free: 3.945 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches