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.001115/0.001115, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001673/0.002787, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001049/0.001049, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.002185, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.016/1.016, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07998/1.096, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] 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.483e-06/1.483e-06, allocations: 0 / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.396e-05, allocations: 2.875 kB / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004891/0.004915, allocations: 5.557 MB / 245.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.007839, allocations: 1.487 MB / 246.6 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005221/0.008361, allocations: 15.94 kB / 246.6 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.008746, allocations: 210.1 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006738/0.00942, allocations: 416.4 kB / 247.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.009874, allocations: 263.5 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.0111, allocations: 1.423 MB / 248.9 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/0.01145, allocations: 275.7 kB / 249.2 MB, free: 9.477 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.01247, allocations: 0.9479 MB / 250.1 MB, free: 8.512 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000528/0.013, allocations: 430.8 kB / 250.5 MB, free: 8.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.01314, allocations: 116 kB / 250.7 MB, free: 7.977 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.01329, allocations: 123.9 kB / 250.8 MB, free: 7.855 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.01341, allocations: 187.4 kB / 251 MB, free: 7.672 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.01375, allocations: 367.4 kB / 251.3 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006898/0.01444, allocations: 0.8213 MB / 252.1 MB, free: 6.488 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-05/0.01445, allocations: 4 kB / 252.1 MB, free: 6.484 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01445, allocations: 0 / 252.1 MB, free: 6.484 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.345e-05/0.01448, allocations: 0 / 252.1 MB, free: 6.484 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.001478/0.01595, allocations: 1.626 MB / 253.8 MB, free: 4.809 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.01599, allocations: 11.89 kB / 253.8 MB, free: 4.797 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.01613, allocations: 152.8 kB / 253.9 MB, free: 4.648 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.01662, allocations: 433.7 kB / 254.3 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.01679, allocations: 301.9 kB / 254.6 MB, free: 3.848 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.089e-05/0.01687, allocations: 84.38 kB / 254.7 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008793/0.01775, allocations: 1.639 MB / 256.4 MB, free: 1.793 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.01777, allocations: 12.14 kB / 256.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.01781, allocations: 36.12 kB / 256.4 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.01782, allocations: 16 kB / 256.4 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.01813, allocations: 237.8 kB / 256.7 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.01992, allocations: 1.277 MB / 257.9 MB, free: 196 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009858/0.02091, allocations: 0.5061 MB / 258.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.02111, allocations: 162.7 kB / 258.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.02116, allocations: 24.64 kB / 258.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.02119, allocations: 51.22 kB / 258.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.705e-06/0.02119, allocations: 0 / 258.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0007773/0.02197, allocations: 0.5214 MB / 259.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.022, allocations: 68.06 kB / 259.3 MB, free: 14.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.02236, allocations: 0.5741 MB / 259.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.02241, allocations: 49.69 kB / 259.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.02256, allocations: 322.6 kB / 260.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.02268, allocations: 261.7 kB / 260.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.02283, allocations: 158.6 kB / 260.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.02291, allocations: 337.9 kB / 260.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.02305, allocations: 159.1 kB / 261.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.02358, allocations: 1.354 MB / 262.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.0239, allocations: 379.7 kB / 262.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.0239, allocations: 0 / 262.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005291/0.02443, allocations: 0.615 MB / 263.4 MB, free: 10.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/0.02449, allocations: 93.03 kB / 263.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.0245, allocations: 0 / 263.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001992/0.0247, allocations: 100.2 kB / 263.6 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/0.02514, allocations: 183.8 kB / 263.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.02794, allocations: 6.008 MB / 269.8 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.0284, allocations: 79.59 kB / 269.9 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.02843, allocations: 23.98 kB / 269.9 MB, free: 3.18 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.0002135/0.02864, allocations: 169.7 kB / 270.1 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.784e-05/0.02873, allocations: 91.88 kB / 270.2 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.388e-05/0.02883, allocations: 96 kB / 270.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.02883, allocations: 8 kB / 270.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.02884, allocations: 0 / 270.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004503/0.02929, allocations: 0.6498 MB / 270.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.03041, allocations: 0.9139 MB / 271.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.03041, allocations: 0 / 271.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.03086, allocations: 209.7 kB / 272 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.03105, allocations: 103.2 kB / 272.1 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.781e-05/0.03112, allocations: 24.84 kB / 272.2 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.03114, allocations: 8 kB / 272.2 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005012/0.03164, allocations: 1.182 MB / 273.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.03164, allocations: 0 / 273.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.03217, allocations: 0.5626 MB / 273.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.03224, allocations: 28 kB / 273.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.03251, allocations: 35.97 kB / 274 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.03256, allocations: 48.5 kB / 274 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.03258, allocations: 8 kB / 274 MB, free: 14.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001955/0.03278, allocations: 288.5 kB / 274.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03278, allocations: 0 / 274.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005168/0.03329, allocations: 303.7 kB / 274.6 MB, free: 14.22 MB / 282.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.03343, allocations: 112.3 kB / 274.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008742/0.0343, allocations: 1.17 MB / 275.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.211e-05/0.03433, allocations: 16 kB / 275.9 MB, free: 12.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.03456, allocations: 292.6 kB / 276.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.03517, allocations: 374.7 kB / 276.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.04585, allocations: 1.466 MB / 278 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.04597, allocations: 177.5 kB / 278.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000427/0.0464, allocations: 119 kB / 278.3 MB, free: 10.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006456/0.04705, allocations: 437 kB / 278.7 MB, free: 9.875 MB / 282.7 MB Notification: Performance of SimCode: time 1.233e-06/0.04705, allocations: 0 / 278.7 MB, free: 9.875 MB / 282.7 MB Notification: Performance of Templates: time 0.1235/0.1705, allocations: 22.19 MB / 300.9 MB, free: 38.48 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 -ignoreHideResult -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","",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.068301680497825]