Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001162/0.001162, allocations: 172.5 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.2 MB / 219.8 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.0007722/0.0007721, allocations: 86.7 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.379e-05, allocations: 4 kB / 322.4 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07933/0.07938, allocations: 47.58 MB / 370 MB, free: 1.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.274/0.3535, allocations: 81.68 MB / 451.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.3538, allocations: 66.88 kB / 451.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04209/0.3959, allocations: 16.2 MB / 468 MB, free: 12.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3959, allocations: 0 / 468 MB, free: 12.85 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.02e-05/0.396, allocations: 23.94 kB / 468 MB, free: 12.83 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.001646/0.3976, allocations: 1.042 MB / 469 MB, free: 11.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3977, allocations: 8.031 kB / 469 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.3979, allocations: 106.9 kB / 469.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007709/0.3986, allocations: 0.5158 MB / 469.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.3989, allocations: 158.3 kB / 469.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.512e-05/0.399, allocations: 60 kB / 469.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.4001, allocations: 0.7925 MB / 470.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.4001, allocations: 0 / 470.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/0.4002, allocations: 32 kB / 470.7 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.4002, allocations: 15.94 kB / 470.7 MB, free: 9.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008343/0.4011, allocations: 0.4894 MB / 471.2 MB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.4042, allocations: 2.1 MB / 473.3 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.4058, allocations: 0.9038 MB / 474.2 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.4063, allocations: 343.5 kB / 474.5 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.197e-05/0.4064, allocations: 20.78 kB / 474.6 MB, free: 5.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.4064, allocations: 55.33 kB / 474.6 MB, free: 5.793 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 3.095e-06/0.4065, allocations: 0 / 474.6 MB, free: 5.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.002133/0.4086, allocations: 0.8749 MB / 475.5 MB, free: 4.902 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003621/0.409, allocations: 0.8235 MB / 476.3 MB, free: 3.879 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007553/0.4097, allocations: 0.5544 MB / 476.9 MB, free: 3.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.903e-05/0.4098, allocations: 49.7 kB / 476.9 MB, free: 3.262 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.4101, allocations: 321.2 kB / 477.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.4103, allocations: 260.1 kB / 477.5 MB, free: 2.688 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.4103, allocations: 12 kB / 477.5 MB, free: 2.676 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4105, allocations: 398.6 kB / 477.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.4109, allocations: 213.5 kB / 478.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005546/0.4114, allocations: 493.8 kB / 478.6 MB, free: 1.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/0.4119, allocations: 357.4 kB / 478.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4119, allocations: 0 / 478.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002075/0.414, allocations: 1.031 MB / 480 MB, free: 52 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.4141, allocations: 81.11 kB / 480 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.4141, allocations: 4 kB / 480 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/0.4147, allocations: 223.2 kB / 480.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.4153, allocations: 131.9 kB / 480.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006958/0.4223, allocations: 6.249 MB / 486.6 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009088/0.4233, allocations: 103.6 kB / 486.7 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.4233, allocations: 23.98 kB / 486.8 MB, free: 8.688 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.0002325/0.4236, allocations: 152.9 kB / 486.9 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.4237, allocations: 98.92 kB / 487 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.424, allocations: 88.06 kB / 487.1 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.424, allocations: 12 kB / 487.1 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.424, allocations: 0 / 487.1 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002094/0.4261, allocations: 1.166 MB / 488.3 MB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/0.4297, allocations: 1.859 MB / 490.1 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.4297, allocations: 0 / 490.1 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/0.4303, allocations: 131.8 kB / 490.3 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000433/0.4308, allocations: 170.5 kB / 490.4 MB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/0.4308, allocations: 20 kB / 490.4 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005176/0.436, allocations: 4.802 MB / 495.2 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.436, allocations: 0 / 495.2 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.4385, allocations: 1.296 MB / 496.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/0.4389, allocations: 239.8 kB / 496.8 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.892e-05/0.439, allocations: 16 kB / 496.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.4395, allocations: 47.97 kB / 496.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.4397, allocations: 64.59 kB / 496.9 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.4397, allocations: 23.98 kB / 496.9 MB, free: 13.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005443/0.4403, allocations: 451.1 kB / 497.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4403, allocations: 0 / 497.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008096/0.4411, allocations: 287.7 kB / 497.6 MB, free: 13.13 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.0001936/0.4413, allocations: 131.4 kB / 497.8 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.443, allocations: 1.235 MB / 499 MB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.443, allocations: 8.125 kB / 499 MB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.4441, allocations: 0.7112 MB / 499.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007929/0.4449, allocations: 200.9 kB / 499.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.4471, allocations: 1.242 MB / 0.4894 GB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.4476, allocations: 0.9558 MB / 0.4904 GB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000372/0.448, allocations: 94.28 kB / 0.4904 GB, free: 8.363 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.4481, allocations: 63.44 kB / 0.4905 GB, free: 8.301 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4481, allocations: 0 / 0.4905 GB, free: 8.301 MB / 378.7 MB Notification: Performance of Templates: time 0.02393/0.4721, allocations: 15.85 MB / 0.506 GB, free: 8.43 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/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_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches