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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009939/0.0009939, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 168.2 kB / 25.7 MB, free: 8.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9485/0.9485, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.156e-05, allocations: 2.312 kB / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004972/0.004993, allocations: 5.51 MB / 257 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.007746, allocations: 1.507 MB / 258.5 MB, free: 228 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.008105, allocations: 19.88 kB / 258.6 MB, free: 208 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003919/0.008497, allocations: 198.2 kB / 258.8 MB, free: 8 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006327/0.00913, allocations: 416.4 kB / 259.2 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007526/0.009883, allocations: 267.5 kB / 259.4 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.01116, allocations: 1.413 MB / 260.8 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.01155, allocations: 279.6 kB / 261.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008661/0.01242, allocations: 0.7952 MB / 261.9 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.01296, allocations: 434.8 kB / 262.3 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.0131, allocations: 116 kB / 262.4 MB, free: 12.28 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.01324, allocations: 120 kB / 262.6 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.01338, allocations: 267.1 kB / 262.8 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003301/0.01371, allocations: 451 kB / 263.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007015/0.01441, allocations: 0.9031 MB / 264.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01442, allocations: 3.938 kB / 264.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01442, allocations: 0 / 264.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.01443, allocations: 4 kB / 264.2 MB, free: 10.54 MB / 250.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.001397/0.01583, allocations: 1.384 MB / 265.6 MB, free: 9.113 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.01586, allocations: 15.92 kB / 265.6 MB, free: 9.098 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.01601, allocations: 152.8 kB / 265.7 MB, free: 8.949 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.01649, allocations: 429.8 kB / 266.1 MB, free: 8.5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003571/0.01685, allocations: 305.9 kB / 266.4 MB, free: 8.148 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.342e-05/0.01693, allocations: 84.38 kB / 266.5 MB, free: 8.066 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008946/0.01783, allocations: 1.643 MB / 268.2 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.01784, allocations: 4.172 kB / 268.2 MB, free: 6.082 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.01789, allocations: 36.12 kB / 268.2 MB, free: 6.047 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.0179, allocations: 16 kB / 268.2 MB, free: 6.031 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.0182, allocations: 229.8 kB / 268.4 MB, free: 5.809 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.02001, allocations: 1.273 MB / 269.7 MB, free: 4.504 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009977/0.02101, allocations: 0.4909 MB / 270.2 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.02123, allocations: 162.5 kB / 270.4 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.02127, allocations: 16.66 kB / 270.4 MB, free: 3.828 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.0213, allocations: 47.22 kB / 270.4 MB, free: 3.773 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 2.194e-06/0.0213, allocations: 0 / 270.4 MB, free: 3.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.0008088/0.02211, allocations: 0.5253 MB / 271 MB, free: 3.227 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002816/0.02239, allocations: 0.9528 MB / 271.9 MB, free: 2.047 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.02278, allocations: 0.578 MB / 272.5 MB, free: 1.461 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.426e-05/0.02283, allocations: 45.7 kB / 272.5 MB, free: 1.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.02298, allocations: 322.6 kB / 272.8 MB, free: 1.09 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.02325, allocations: 265.7 kB / 273.1 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.0234, allocations: 158.5 kB / 273.3 MB, free: 0.668 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.02348, allocations: 329.9 kB / 273.6 MB, free: 348 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.02362, allocations: 171 kB / 273.7 MB, free: 160 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005266/0.02415, allocations: 1.35 MB / 275.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.02447, allocations: 383.7 kB / 275.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.02447, allocations: 0 / 275.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005417/0.02501, allocations: 0.6071 MB / 276.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.822e-05/0.02506, allocations: 93.09 kB / 276.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.02507, allocations: 0 / 276.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.02527, allocations: 96.16 kB / 276.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.0256, allocations: 143.9 kB / 276.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.0286, allocations: 5.997 MB / 282.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.02897, allocations: 91.47 kB / 282.5 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.029, allocations: 20 kB / 282.5 MB, free: 6.465 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.0001914/0.02919, allocations: 161.7 kB / 282.7 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.986e-05/0.02928, allocations: 91.94 kB / 282.8 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.48e-05/0.02936, allocations: 96 kB / 282.8 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.02937, allocations: 8 kB / 282.9 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.02938, allocations: 0 / 282.9 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000433/0.02981, allocations: 0.6575 MB / 283.5 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.03086, allocations: 0.9139 MB / 284.4 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.03087, allocations: 4 kB / 284.4 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.03121, allocations: 147.8 kB / 284.6 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.166e-05/0.03128, allocations: 24.84 kB / 284.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.0313, allocations: 12 kB / 284.6 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004939/0.0318, allocations: 1.186 MB / 285.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.0318, allocations: 0 / 285.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005514/0.03235, allocations: 0.5587 MB / 286.4 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.03253, allocations: 99.23 kB / 286.5 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.03259, allocations: 16 kB / 286.5 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.03286, allocations: 40 kB / 286.5 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.03291, allocations: 44.56 kB / 286.6 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.03293, allocations: 15.94 kB / 286.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.03313, allocations: 292.5 kB / 286.9 MB, free: 1.859 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03313, allocations: 0 / 286.9 MB, free: 1.859 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006451/0.03378, allocations: 303.6 kB / 287.1 MB, free: 1.562 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.0001361/0.03392, allocations: 100.4 kB / 287.2 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008301/0.03475, allocations: 1.17 MB / 288.4 MB, free: 168 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.03476, allocations: 12 kB / 288.4 MB, free: 156 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.03499, allocations: 288.3 kB / 288.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005713/0.03556, allocations: 290.7 kB / 289 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.03747, allocations: 1.468 MB / 290.5 MB, free: 14.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.03759, allocations: 173.3 kB / 290.6 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003153/0.0379, allocations: 118.9 kB / 290.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006354/0.03854, allocations: 429 kB / 291.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of SimCode: time 1.312e-06/0.03854, allocations: 0 / 291.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of Templates: time 0.02114/0.05968, allocations: 20.01 MB / 311.2 MB, free: 9.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.192383097950369]