Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 91.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 145.1 kB / 24.26 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 173.4 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.352e-05, allocations: 2.312 kB / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007845/0.007869, allocations: 5.552 MB / 272.9 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.01052, allocations: 1.409 MB / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.01082, allocations: 15.94 kB / 274.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.01132, allocations: 206.2 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007994/0.01212, allocations: 412.4 kB / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.01262, allocations: 263.5 kB / 275.2 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001665/0.01429, allocations: 1.413 MB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004697/0.01476, allocations: 271.6 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009675/0.01572, allocations: 0.7874 MB / 277.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006897/0.01641, allocations: 438.8 kB / 278 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.01661, allocations: 124 kB / 278.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.01684, allocations: 120 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.01712, allocations: 263.1 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005736/0.01769, allocations: 451 kB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.01943, allocations: 1.46 MB / 280.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.01943, allocations: 0 / 280.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01944, allocations: 0 / 280.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.01945, allocations: 0 / 280.4 MB, free: 9.539 MB / 266.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.003021/0.02247, allocations: 1.606 MB / 282 MB, free: 7.875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.02251, allocations: 8.031 kB / 282.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/0.02284, allocations: 188.2 kB / 282.2 MB, free: 7.684 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.02392, allocations: 0.5922 MB / 282.8 MB, free: 7.062 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003374/0.02426, allocations: 305.9 kB / 283.1 MB, free: 6.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.02441, allocations: 88.33 kB / 283.2 MB, free: 6.621 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.02685, allocations: 1.968 MB / 285.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.02688, allocations: 192 / 285.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.543e-05/0.02696, allocations: 40.12 kB / 285.2 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.02699, allocations: 16 kB / 285.2 MB, free: 4.227 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.0284, allocations: 0.5934 MB / 285.8 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004452/0.03285, allocations: 2.139 MB / 288 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/0.03558, allocations: 0.7653 MB / 288.7 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000763/0.03634, allocations: 321.5 kB / 289 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.497e-05/0.03641, allocations: 12.66 kB / 289.1 MB, free: 348 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.591e-05/0.03646, allocations: 54.03 kB / 289.1 MB, free: 280 kB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.394e-06/0.03647, allocations: 0 / 289.1 MB, free: 280 kB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.09758/0.134, allocations: 1.033 MB / 290.1 MB, free: 32.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.1342, allocations: 0.9484 MB / 291.1 MB, free: 31.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.1352, allocations: 0.9077 MB / 292 MB, free: 31.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.907e-05/0.1353, allocations: 46.36 kB / 292 MB, free: 31.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.1356, allocations: 0.5071 MB / 292.6 MB, free: 30.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.1358, allocations: 272.7 kB / 292.8 MB, free: 30.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.136, allocations: 173 kB / 293 MB, free: 30.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.1361, allocations: 0.5151 MB / 293.5 MB, free: 30.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.1366, allocations: 330.2 kB / 293.8 MB, free: 29.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008881/0.1375, allocations: 1.661 MB / 295.5 MB, free: 28.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.1386, allocations: 0.7021 MB / 296.2 MB, free: 27.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1386, allocations: 0 / 296.2 MB, free: 27.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001696/0.1403, allocations: 1.07 MB / 297.3 MB, free: 27.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.12e-05/0.1403, allocations: 89.89 kB / 297.3 MB, free: 27.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1404, allocations: 1.859 kB / 297.4 MB, free: 27.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003642/0.1407, allocations: 145.2 kB / 297.5 MB, free: 27.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/0.1414, allocations: 148.1 kB / 297.6 MB, free: 27.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/0.1458, allocations: 9.31 MB / 306.9 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009385/0.1467, allocations: 89.3 kB / 307 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.1468, allocations: 33.12 kB / 307.1 MB, free: 17.88 MB / 266.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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003533/0.1471, allocations: 280.2 kB / 307.3 MB, free: 17.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.1473, allocations: 119.6 kB / 307.5 MB, free: 17.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.1475, allocations: 98.31 kB / 307.6 MB, free: 17.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1475, allocations: 7.75 kB / 307.6 MB, free: 17.51 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.1475, allocations: 4.781 kB / 307.6 MB, free: 17.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001161/0.1486, allocations: 0.9483 MB / 308.5 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.1512, allocations: 1.663 MB / 310.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1512, allocations: 1.031 kB / 310.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.1519, allocations: 151.1 kB / 310.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.152, allocations: 31.61 kB / 310.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.1521, allocations: 16.52 kB / 310.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006684/0.1527, allocations: 1.798 MB / 312.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1527, allocations: 3.625 kB / 312.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.1545, allocations: 1.137 MB / 313.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/0.1549, allocations: 178.2 kB / 313.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.155, allocations: 15.44 kB / 313.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/0.1557, allocations: 39.67 kB / 313.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.1558, allocations: 46.7 kB / 313.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/0.1558, allocations: 23.61 kB / 313.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006082/0.1564, allocations: 0.5807 MB / 314.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1564, allocations: 0 / 314.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007632/0.1572, allocations: 307.8 kB / 314.5 MB, free: 13.07 MB / 266.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001287/0.1573, allocations: 129 kB / 314.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.159, allocations: 1.747 MB / 316.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.159, allocations: 8.031 kB / 316.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006102/0.1596, allocations: 488.6 kB / 316.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009727/0.1606, allocations: 272.2 kB / 317.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.1627, allocations: 1.625 MB / 318.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.163, allocations: 388.6 kB / 319.1 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004017/0.1634, allocations: 117.7 kB / 319.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.1635, allocations: 80.39 kB / 319.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1635, allocations: 3.828 kB / 319.3 MB, free: 9.219 MB / 266.7 MB Notification: Performance of Templates: time 0.02838/0.1919, allocations: 18.76 MB / 338.1 MB, free: 7.074 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.198054880020209]