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.001643/0.001643, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.679/1.679, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0008695/0.0008695, allocations: 93.67 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004695, allocations: 12 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2618, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0958/0.3576, allocations: 81.87 MB / 458.9 MB, free: 14.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.3579, allocations: 71.95 kB / 459 MB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04515/0.4031, allocations: 16.21 MB / 475.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.4031, allocations: 0 / 475.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001482/0.4033, allocations: 27.92 kB / 475.2 MB, free: 14.26 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.002831/0.4062, allocations: 1.154 MB / 476.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4062, allocations: 8.031 kB / 476.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004447/0.4067, allocations: 107.8 kB / 476.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.4077, allocations: 0.5435 MB / 477 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002648/0.408, allocations: 151 kB / 477.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.4081, allocations: 60.38 kB / 477.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.4099, allocations: 0.8445 MB / 478.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.4099, allocations: 7.938 kB / 478.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.562e-05/0.41, allocations: 24 kB / 478.1 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.41, allocations: 12 kB / 478.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.4116, allocations: 0.5868 MB / 478.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004429/0.416, allocations: 2.096 MB / 480.8 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.418, allocations: 1.008 MB / 481.8 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007305/0.4188, allocations: 382.7 kB / 482.2 MB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.549e-05/0.4189, allocations: 20.66 kB / 482.2 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.4189, allocations: 43.22 kB / 482.2 MB, free: 6.816 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 3.086e-06/0.4189, allocations: 4 kB / 482.2 MB, free: 6.812 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.005022/0.424, allocations: 1.863 MB / 484.1 MB, free: 4.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004654/0.4245, allocations: 0.8311 MB / 484.9 MB, free: 3.828 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000959/0.4254, allocations: 0.6293 MB / 485.6 MB, free: 3.191 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.4255, allocations: 45.7 kB / 485.6 MB, free: 3.141 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.4258, allocations: 321.2 kB / 485.9 MB, free: 2.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.4261, allocations: 264.1 kB / 486.2 MB, free: 2.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.4261, allocations: 12 kB / 486.2 MB, free: 2.547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.4263, allocations: 394.7 kB / 486.6 MB, free: 2.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.4269, allocations: 257.9 kB / 486.8 MB, free: 1.898 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008575/0.4278, allocations: 0.5328 MB / 487.4 MB, free: 1.266 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.4291, allocations: 0.6623 MB / 488 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4291, allocations: 0 / 488 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002716/0.4318, allocations: 1.11 MB / 489.1 MB, free: 15.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/0.4319, allocations: 93.09 kB / 489.2 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4319, allocations: 3.938 kB / 489.2 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000733/0.4327, allocations: 243.3 kB / 489.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/0.4333, allocations: 143.8 kB / 489.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008162/0.4415, allocations: 6.493 MB / 496.1 MB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009204/0.4424, allocations: 99.3 kB / 496.2 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.4426, allocations: 35.98 kB / 496.2 MB, free: 7.762 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.0005698/0.4431, allocations: 209.7 kB / 496.4 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/0.4435, allocations: 87.06 kB / 496.5 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.4437, allocations: 92 kB / 496.6 MB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4437, allocations: 8 kB / 496.6 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4437, allocations: 3.938 kB / 496.6 MB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002361/0.4461, allocations: 1.268 MB / 497.9 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004004/0.4501, allocations: 1.942 MB / 499.8 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4502, allocations: 0 / 499.8 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/0.4508, allocations: 131.9 kB / 500 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006199/0.4514, allocations: 218.5 kB / 0.4885 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/0.4515, allocations: 19.98 kB / 0.4885 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2217/0.6732, allocations: 5.053 MB / 0.4934 GB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.6733, allocations: 1.062 kB / 0.4934 GB, free: 103.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005863/0.6792, allocations: 1.404 MB / 0.4948 GB, free: 103.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007113/0.68, allocations: 237.5 kB / 0.495 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.6802, allocations: 20.28 kB / 0.495 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/0.681, allocations: 47.66 kB / 0.4951 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003094/0.6814, allocations: 61.55 kB / 0.4951 GB, free: 103 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.6815, allocations: 23.58 kB / 0.4951 GB, free: 103 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001069/0.6825, allocations: 453.2 kB / 0.4956 GB, free: 102.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6826, allocations: 2.844 kB / 0.4956 GB, free: 102.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001819/0.6844, allocations: 287.9 kB / 0.4959 GB, free: 102.9 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.0003362/0.6847, allocations: 130.2 kB / 0.496 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003057/0.6878, allocations: 1.317 MB / 0.4973 GB, free: 102.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.6879, allocations: 1.344 kB / 0.4973 GB, free: 102.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.6895, allocations: 0.7632 MB / 0.498 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.6912, allocations: 220.4 kB / 0.4982 GB, free: 101.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.6945, allocations: 1.917 MB / 0.5001 GB, free: 101 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.695, allocations: 0.9345 MB / 0.501 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005448/0.6956, allocations: 96.08 kB / 0.5011 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.6958, allocations: 68.2 kB / 0.5012 GB, free: 100.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6958, allocations: 0 / 0.5012 GB, free: 100.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02471/0.7205, allocations: 15.97 MB / 0.5168 GB, free: 95.23 MB / 378.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/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_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches