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.001411/0.001411, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.00109/0.00109, allocations: 171.7 kB / 25.33 MB, free: 9.441 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.8393/0.8393, allocations: 158.6 MB / 187.2 MB, free: 2.469 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.433e-06/1.433e-06, allocations: 0 / 251 MB, free: 3.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.021e-05, allocations: 9.406 kB / 251 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004688/0.004709, allocations: 5.605 MB / 256.6 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.006821, allocations: 1.442 MB / 258.1 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.007067, allocations: 19.94 kB / 258.1 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.00739, allocations: 186.3 kB / 258.3 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004949/0.007885, allocations: 420.3 kB / 258.7 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.008225, allocations: 267.5 kB / 259 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009416/0.009166, allocations: 1.417 MB / 260.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.009464, allocations: 267.6 kB / 260.6 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005915/0.01006, allocations: 0.7874 MB / 261.4 MB, free: 9.109 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000397/0.01045, allocations: 438.8 kB / 261.9 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.01057, allocations: 116 kB / 262 MB, free: 8.566 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.01069, allocations: 120 kB / 262.1 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.01083, allocations: 267 kB / 262.3 MB, free: 8.188 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000299/0.01113, allocations: 443.1 kB / 262.8 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006911/0.01182, allocations: 0.907 MB / 263.7 MB, free: 6.844 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01182, allocations: 4 kB / 263.7 MB, free: 6.84 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01183, allocations: 4 kB / 263.7 MB, free: 6.836 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.01184, allocations: 0 / 263.7 MB, free: 6.836 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.001476/0.01331, allocations: 1.528 MB / 265.2 MB, free: 5.25 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.01335, allocations: 11.98 kB / 265.2 MB, free: 5.238 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.01355, allocations: 188.2 kB / 265.4 MB, free: 5.055 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006002/0.01415, allocations: 0.559 MB / 266 MB, free: 4.465 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.01433, allocations: 301.9 kB / 266.3 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/0.01442, allocations: 92.3 kB / 266.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.01547, allocations: 1.774 MB / 268.1 MB, free: 1.875 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.01549, allocations: 4.188 kB / 268.1 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.01554, allocations: 40.12 kB / 268.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.01555, allocations: 19.94 kB / 268.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.01604, allocations: 339.7 kB / 268.5 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.01818, allocations: 1.812 MB / 270.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.01936, allocations: 0.5642 MB / 270.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.01965, allocations: 201.5 kB / 271.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.01969, allocations: 20.64 kB / 271.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.01972, allocations: 50.05 kB / 271.2 MB, free: 14.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.744e-06/0.01972, allocations: 4 kB / 271.2 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001067/0.02079, allocations: 0.7222 MB / 271.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002432/0.02103, allocations: 0.9528 MB / 272.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.02156, allocations: 0.7181 MB / 273.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.02161, allocations: 45.7 kB / 273.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.02184, allocations: 487.5 kB / 274.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.02196, allocations: 253.7 kB / 274.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.02212, allocations: 168.3 kB / 274.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.02222, allocations: 0.4965 MB / 275 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.02245, allocations: 211 kB / 275.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006386/0.02309, allocations: 1.492 MB / 276.7 MB, free: 8.516 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.02356, allocations: 470 kB / 277.2 MB, free: 8.023 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.02357, allocations: 0 / 277.2 MB, free: 8.023 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007916/0.02436, allocations: 0.8216 MB / 278 MB, free: 7.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.0244, allocations: 91.88 kB / 278.1 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.0244, allocations: 4 kB / 278.1 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/0.02463, allocations: 126.3 kB / 278.2 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.02497, allocations: 147.8 kB / 278.3 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/0.02864, allocations: 8.903 MB / 287.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.02902, allocations: 87.67 kB / 287.3 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.02906, allocations: 27.94 kB / 287.4 MB, free: 13.1 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.0001855/0.02925, allocations: 216.4 kB / 287.6 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.02936, allocations: 127.4 kB / 287.7 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.02948, allocations: 92.02 kB / 287.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.02949, allocations: 8 kB / 287.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.02949, allocations: 0 / 287.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006581/0.03015, allocations: 0.7736 MB / 288.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.03167, allocations: 1.329 MB / 289.9 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.03168, allocations: 0 / 289.9 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.03205, allocations: 155.8 kB / 290 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-05/0.03213, allocations: 31.8 kB / 290.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.03216, allocations: 15.98 kB / 290.1 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006941/0.03286, allocations: 1.756 MB / 291.8 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.03286, allocations: 0 / 291.8 MB, free: 8.297 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009129/0.03377, allocations: 0.7802 MB / 292.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.03399, allocations: 179.1 kB / 292.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.03406, allocations: 16 kB / 292.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002955/0.03436, allocations: 39.97 kB / 292.9 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.03442, allocations: 40.58 kB / 292.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.03445, allocations: 19.98 kB / 292.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003358/0.03478, allocations: 462.9 kB / 293.4 MB, free: 6.758 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03478, allocations: 8 kB / 293.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004889/0.03527, allocations: 299.7 kB / 293.7 MB, free: 6.457 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.0001373/0.03541, allocations: 119.1 kB / 293.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.03662, allocations: 1.528 MB / 295.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.03662, allocations: 4 kB / 295.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.03691, allocations: 382.4 kB / 295.7 MB, free: 4.254 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000619/0.03753, allocations: 286.9 kB / 296 MB, free: 3.977 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.03946, allocations: 1.527 MB / 297.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.03956, allocations: 173.4 kB / 297.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005537/0.04012, allocations: 122.9 kB / 297.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.04025, allocations: 68.5 kB / 297.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of SimCode: time 1.202e-06/0.04026, allocations: 4 kB / 297.9 MB, free: 2.02 MB / 282.7 MB Notification: Performance of Templates: time 0.1015/0.1417, allocations: 19.69 MB / 317.6 MB, free: 46.91 MB / 282.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.24850011523813]