Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001205/0.001206, allocations: 183.2 kB / 18.04 MB, free: 3.773 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.646/1.646, allocations: 205.4 MB / 224.2 MB, free: 9.02 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.000795/0.0007952, allocations: 85.53 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003714, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2743, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.3768, allocations: 82.11 MB / 459.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.3771, allocations: 75.94 kB / 459.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05654/0.4336, allocations: 19.41 MB / 478.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4337, allocations: 4 kB / 478.6 MB, free: 10.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.912e-05/0.4338, allocations: 16 kB / 478.6 MB, free: 10.78 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.003431/0.4372, allocations: 1.291 MB / 479.9 MB, free: 9.414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4373, allocations: 8.031 kB / 479.9 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004829/0.4378, allocations: 127.5 kB / 480.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.4393, allocations: 0.6264 MB / 480.7 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002667/0.4396, allocations: 159.7 kB / 480.8 MB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.4398, allocations: 72.31 kB / 480.9 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.4417, allocations: 0.9743 MB / 481.9 MB, free: 7.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.4418, allocations: 7.875 kB / 481.9 MB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.667e-05/0.4419, allocations: 35.98 kB / 481.9 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.4419, allocations: 16 kB / 481.9 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.4435, allocations: 0.6519 MB / 482.6 MB, free: 6.574 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005194/0.4487, allocations: 2.571 MB / 485.2 MB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.4514, allocations: 0.8907 MB / 486.1 MB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007964/0.4522, allocations: 370.7 kB / 486.4 MB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.565e-05/0.4523, allocations: 12.64 kB / 486.4 MB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.888e-05/0.4524, allocations: 51.2 kB / 486.5 MB, free: 2.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 3.948e-06/0.4524, allocations: 0 / 486.5 MB, free: 2.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.003014/0.4554, allocations: 1.463 MB / 487.9 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005798/0.456, allocations: 0.9566 MB / 488.9 MB, free: 15.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.4573, allocations: 0.7786 MB / 489.7 MB, free: 14.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.4574, allocations: 45.7 kB / 489.7 MB, free: 14.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/0.4578, allocations: 408.8 kB / 490.1 MB, free: 14.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.4581, allocations: 260.1 kB / 490.4 MB, free: 14.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.4582, allocations: 19.94 kB / 490.4 MB, free: 14.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4583, allocations: 337.9 kB / 490.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.459, allocations: 277.8 kB / 491 MB, free: 13.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009117/0.4599, allocations: 0.5919 MB / 491.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.4613, allocations: 0.6991 MB / 492.3 MB, free: 12.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4613, allocations: 0 / 492.3 MB, free: 12.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002115/0.4634, allocations: 0.9977 MB / 493.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/0.4635, allocations: 88.7 kB / 493.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.4636, allocations: 0 / 493.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/0.464, allocations: 128.2 kB / 493.5 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007762/0.4647, allocations: 159.8 kB / 493.7 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006594/0.4714, allocations: 6.792 MB / 0.4887 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.4724, allocations: 115.2 kB / 0.4888 GB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.4726, allocations: 27.98 kB / 0.4889 GB, free: 3.145 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 (82): * Single equations (assignments): 74 * 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%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008588/0.4734, allocations: 229.7 kB / 0.4891 GB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004422/0.4739, allocations: 110.7 kB / 0.4892 GB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004237/0.4743, allocations: 109.6 kB / 0.4893 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.4743, allocations: 4 kB / 0.4893 GB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.14e-05/0.4744, allocations: 4 kB / 0.4893 GB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001913/0.4763, allocations: 1.005 MB / 0.4903 GB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1923/0.6686, allocations: 1.781 MB / 0.492 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.6686, allocations: 4.969 kB / 0.492 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.6697, allocations: 164.9 kB / 0.4922 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001445/0.6699, allocations: 29.41 kB / 0.4922 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.67, allocations: 18.66 kB / 0.4922 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008969/0.6709, allocations: 1.305 MB / 0.4935 GB, free: 102.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.671, allocations: 0.5312 kB / 0.4935 GB, free: 102.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/0.6737, allocations: 1.138 MB / 0.4946 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005977/0.6743, allocations: 260.8 kB / 0.4949 GB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/0.6746, allocations: 22.44 kB / 0.4949 GB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006951/0.6753, allocations: 46.39 kB / 0.4949 GB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.6754, allocations: 46.3 kB / 0.495 GB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.6755, allocations: 20.78 kB / 0.495 GB, free: 102.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008179/0.6763, allocations: 0.5389 MB / 0.4955 GB, free: 102 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6763, allocations: 0 / 0.4955 GB, free: 102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001046/0.6774, allocations: 302.2 kB / 0.4958 GB, free: 102 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 (72): * Single equations (assignments): 71 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00032/0.6777, allocations: 137.5 kB / 0.4959 GB, free: 101.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002065/0.6798, allocations: 1.425 MB / 0.4973 GB, free: 101.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.6798, allocations: 5.812 kB / 0.4973 GB, free: 101.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006727/0.6805, allocations: 438.1 kB / 0.4977 GB, free: 101.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.6818, allocations: 267.1 kB / 0.498 GB, free: 101.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.6855, allocations: 2.051 MB / 0.5 GB, free: 100.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/0.6862, allocations: 0.9823 MB / 0.501 GB, free: 99.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007532/0.6869, allocations: 115.6 kB / 0.5011 GB, free: 99.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.6873, allocations: 77.95 kB / 0.5011 GB, free: 99.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.265e-06/0.6873, allocations: 4 kB / 0.5012 GB, free: 99.45 MB / 378.7 MB Notification: Performance of Templates: time 0.02908/0.7164, allocations: 16.13 MB / 0.5169 GB, free: 95.3 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches