Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001597, allocations: 185.5 kB / 16.41 MB, free: 5.727 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.01/2.01, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001141/0.00114, allocations: 96.41 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003809, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3342, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.465, allocations: 82.03 MB / 456.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.4654, allocations: 75.95 kB / 456.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08274/0.5481, allocations: 19.41 MB / 476 MB, free: 11.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5482, allocations: 0 / 476 MB, free: 11.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.804e-05/0.5483, allocations: 16 kB / 476.1 MB, free: 11.09 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003684/0.552, allocations: 1.302 MB / 477.4 MB, free: 9.719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.552, allocations: 8.031 kB / 477.4 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004022/0.5525, allocations: 126.6 kB / 477.5 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.554, allocations: 0.5992 MB / 478.1 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.5544, allocations: 155.1 kB / 478.2 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.5546, allocations: 71.98 kB / 478.3 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.557, allocations: 0.9697 MB / 479.3 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.887e-05/0.5571, allocations: 0 / 479.3 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.5573, allocations: 43.94 kB / 479.3 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.5573, allocations: 16 kB / 479.3 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.5597, allocations: 0.652 MB / 480 MB, free: 6.906 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006959/0.5667, allocations: 2.563 MB / 482.6 MB, free: 4.211 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005046/0.5718, allocations: 0.9493 MB / 483.5 MB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.572, allocations: 16.64 kB / 483.5 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.309e-05/0.5721, allocations: 51.2 kB / 483.6 MB, free: 3.164 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 4.268e-06/0.5721, allocations: 0 / 483.6 MB, free: 3.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.004853/0.5769, allocations: 1.478 MB / 485 MB, free: 1.574 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000453/0.5774, allocations: 0.9605 MB / 486 MB, free: 396 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.579, allocations: 0.6803 MB / 486.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.5792, allocations: 45.7 kB / 486.7 MB, free: 15.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.5796, allocations: 415.1 kB / 487.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.58, allocations: 260.1 kB / 487.4 MB, free: 14.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.5801, allocations: 16 kB / 487.4 MB, free: 14.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.5802, allocations: 338.9 kB / 487.7 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.5814, allocations: 273.8 kB / 488 MB, free: 14.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.5829, allocations: 0.5919 MB / 488.6 MB, free: 13.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.5843, allocations: 416.8 kB / 489 MB, free: 13.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.5843, allocations: 0 / 489 MB, free: 13.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003046/0.5874, allocations: 0.9282 MB / 489.9 MB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.472e-05/0.5875, allocations: 93.03 kB / 490 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.5876, allocations: 11.94 kB / 490 MB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005137/0.5881, allocations: 120.2 kB / 490.2 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.5895, allocations: 163.8 kB / 490.3 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007932/0.5975, allocations: 6.979 MB / 497.3 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.599, allocations: 115.2 kB / 497.4 MB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.5991, allocations: 24 kB / 497.4 MB, free: 4.051 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (81): * Single equations (assignments): 73 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006637/0.5998, allocations: 233.7 kB / 497.7 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/0.6001, allocations: 115.3 kB / 497.8 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.6004, allocations: 105.6 kB / 497.9 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.6005, allocations: 8 kB / 497.9 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.6005, allocations: 4 kB / 497.9 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002437/0.6029, allocations: 1.013 MB / 498.9 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/0.6081, allocations: 1.789 MB / 0.4889 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.6081, allocations: 0 / 0.4889 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/0.6097, allocations: 163.8 kB / 0.4891 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001791/0.6099, allocations: 32.84 kB / 0.4891 GB, free: 412 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.431e-05/0.61, allocations: 19.98 kB / 0.4892 GB, free: 392 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2708/0.8808, allocations: 1.433 MB / 0.4906 GB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.8809, allocations: 0.75 kB / 0.4906 GB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004193/0.8851, allocations: 1.146 MB / 0.4917 GB, free: 101.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007255/0.8859, allocations: 256.5 kB / 0.4919 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.8861, allocations: 22.7 kB / 0.4919 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009056/0.887, allocations: 41.8 kB / 0.492 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.8872, allocations: 50.38 kB / 0.492 GB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.8873, allocations: 23.73 kB / 0.4921 GB, free: 101.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001115/0.8884, allocations: 0.5443 MB / 0.4926 GB, free: 101.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.8884, allocations: 0 / 0.4926 GB, free: 101.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001551/0.89, allocations: 296.4 kB / 0.4929 GB, free: 101.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (71): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002973/0.8903, allocations: 133.3 kB / 0.493 GB, free: 101.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003396/0.8937, allocations: 1.438 MB / 0.4944 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.8938, allocations: 7.031 kB / 0.4944 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.8951, allocations: 449.6 kB / 0.4948 GB, free: 100.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.8971, allocations: 259.9 kB / 0.4951 GB, free: 100.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.9024, allocations: 2.073 MB / 0.4971 GB, free: 99.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.903, allocations: 0.9988 MB / 0.4981 GB, free: 99.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/0.9036, allocations: 86.38 kB / 0.4982 GB, free: 99.13 MB / 378.7 MB Notification: Performance of SimCode: time 9.71e-07/0.9036, allocations: 0 / 0.4982 GB, free: 99.13 MB / 378.7 MB Notification: Performance of Templates: time 0.03726/0.9409, allocations: 22.86 MB / 0.5205 GB, free: 89.13 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches