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.0009267/0.0009267, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001028/0.001028, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 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 0.9209/0.9209, allocations: 173.4 MB / 202.2 MB, free: 8.281 MB / 186.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.162e-06/1.162e-06, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.17e-05, allocations: 5.266 kB / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004381/0.004402, allocations: 5.489 MB / 274.7 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.006644, allocations: 1.403 MB / 276.1 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.006962, allocations: 15.94 kB / 276.1 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.007329, allocations: 194.3 kB / 276.3 MB, free: 2.684 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005708/0.0079, allocations: 420.4 kB / 276.7 MB, free: 2.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003936/0.008294, allocations: 263.5 kB / 277 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001091/0.009385, allocations: 1.42 MB / 278.4 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003309/0.009716, allocations: 271.6 kB / 278.6 MB, free: 304 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007319/0.01045, allocations: 0.7874 MB / 279.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.01091, allocations: 438.7 kB / 279.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.01104, allocations: 116 kB / 280 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.01117, allocations: 120 kB / 280.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.01131, allocations: 271 kB / 280.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003257/0.01163, allocations: 439.1 kB / 280.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007277/0.01236, allocations: 0.9147 MB / 281.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01236, allocations: 0 / 281.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.01237, allocations: 8 kB / 281.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.01239, allocations: 0 / 281.7 MB, free: 13.23 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.001574/0.01396, allocations: 1.536 MB / 283.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.01399, allocations: 8.922 kB / 283.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.01419, allocations: 192.2 kB / 283.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000561/0.01475, allocations: 0.5434 MB / 284 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.01492, allocations: 301.9 kB / 284.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-05/0.015, allocations: 84.38 kB / 284.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009686/0.01597, allocations: 1.719 MB / 286.1 MB, free: 8.336 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.01598, allocations: 192 / 286.1 MB, free: 8.336 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.808e-05/0.01603, allocations: 40.12 kB / 286.1 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.01604, allocations: 16 kB / 286.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.0164, allocations: 277.7 kB / 286.4 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002138/0.01853, allocations: 1.711 MB / 288.1 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.01965, allocations: 0.5348 MB / 288.6 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.01989, allocations: 178 kB / 288.8 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.01992, allocations: 24.64 kB / 288.8 MB, free: 5.508 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.01996, allocations: 50.05 kB / 288.9 MB, free: 5.445 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.064e-06/0.01996, allocations: 0 / 288.9 MB, free: 5.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.000905/0.02086, allocations: 0.6557 MB / 289.6 MB, free: 4.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002502/0.02111, allocations: 0.9489 MB / 290.5 MB, free: 3.594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.02156, allocations: 0.6826 MB / 291.2 MB, free: 2.898 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.02161, allocations: 53.69 kB / 291.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.02185, allocations: 499.3 kB / 291.7 MB, free: 2.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.02198, allocations: 261.7 kB / 292 MB, free: 2.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.02213, allocations: 168.2 kB / 292.1 MB, free: 1.918 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.02225, allocations: 0.5042 MB / 292.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.02241, allocations: 176.9 kB / 292.8 MB, free: 1.215 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/0.02301, allocations: 1.469 MB / 294.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.02338, allocations: 410 kB / 294.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.02338, allocations: 7.984 kB / 294.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007193/0.0241, allocations: 0.7475 MB / 295.4 MB, free: 14.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.592e-05/0.02416, allocations: 89.09 kB / 295.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.02416, allocations: 4.125 kB / 295.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/0.02438, allocations: 122.3 kB / 295.7 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.02472, allocations: 147.8 kB / 295.8 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003649/0.02837, allocations: 8.781 MB / 304.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.02879, allocations: 87.64 kB / 304.7 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.02882, allocations: 19.98 kB / 304.7 MB, free: 4.223 MB / 282.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.0002039/0.02902, allocations: 216.5 kB / 304.9 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.02914, allocations: 119.4 kB / 305 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.497e-05/0.02923, allocations: 99.94 kB / 305.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.02924, allocations: 8 kB / 305.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.02925, allocations: 0 / 305.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005095/0.02976, allocations: 0.7345 MB / 305.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.03099, allocations: 1.181 MB / 307 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.03099, allocations: 3.984 kB / 307 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.03136, allocations: 151.8 kB / 307.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.3e-05/0.03144, allocations: 31.59 kB / 307.2 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.9e-05/0.03148, allocations: 12 kB / 307.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006364/0.03211, allocations: 1.733 MB / 309 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.03211, allocations: 0 / 309 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000696/0.03281, allocations: 0.7061 MB / 309.7 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.03302, allocations: 175.2 kB / 309.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.84e-05/0.03309, allocations: 20 kB / 309.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.03339, allocations: 39.83 kB / 309.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.03346, allocations: 44.52 kB / 309.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.03348, allocations: 15.98 kB / 310 MB, free: 14.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000254/0.03373, allocations: 426.8 kB / 310.4 MB, free: 14.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03373, allocations: 4 kB / 310.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004994/0.03423, allocations: 307.6 kB / 310.7 MB, free: 13.91 MB / 298.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.00012/0.03435, allocations: 115.4 kB / 310.8 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.03547, allocations: 1.486 MB / 312.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.03547, allocations: 0 / 312.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.03573, allocations: 362.4 kB / 312.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.03637, allocations: 286.5 kB / 312.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.03829, allocations: 1.522 MB / 314.4 MB, free: 9.945 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.03841, allocations: 165.5 kB / 314.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003076/0.03872, allocations: 122.9 kB / 314.7 MB, free: 9.629 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006807/0.0394, allocations: 497.9 kB / 315.2 MB, free: 9.141 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.0394, allocations: 4 kB / 315.2 MB, free: 9.137 MB / 298.7 MB Notification: Performance of Templates: time 0.03008/0.06948, allocations: 20.42 MB / 335.6 MB, free: 5.145 MB / 314.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","",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.274389597121626]