Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001545/0.00268, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002468, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9844/0.9844, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07709/1.061, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.265e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005497/0.00551, allocations: 5.581 MB / 250.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.008936, allocations: 1.518 MB / 252.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005662/0.009502, allocations: 15.88 kB / 252.1 MB, free: 6.504 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.009893, allocations: 206.2 kB / 252.3 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006652/0.01056, allocations: 420.4 kB / 252.7 MB, free: 5.887 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.01099, allocations: 259.5 kB / 253 MB, free: 5.633 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.01232, allocations: 1.424 MB / 254.4 MB, free: 4.207 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004062/0.01272, allocations: 283.6 kB / 254.7 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.01382, allocations: 0.9324 MB / 255.6 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000571/0.01439, allocations: 438.8 kB / 256 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.01453, allocations: 119.9 kB / 256.2 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.01468, allocations: 124 kB / 256.3 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.01483, allocations: 187.4 kB / 256.5 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003675/0.0185, allocations: 367.4 kB / 256.8 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009135/0.01941, allocations: 0.8251 MB / 257.7 MB, free: 0.918 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-05/0.01943, allocations: 0 / 257.7 MB, free: 0.918 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.01943, allocations: 0 / 257.7 MB, free: 0.918 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.112e-05/0.01946, allocations: 0 / 257.7 MB, free: 0.918 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.004886/0.02435, allocations: 1.626 MB / 259.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.02438, allocations: 12.92 kB / 259.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.02456, allocations: 144.8 kB / 259.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005985/0.02516, allocations: 437.7 kB / 259.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.02534, allocations: 301.9 kB / 260.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.473e-05/0.02544, allocations: 84.38 kB / 260.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.0265, allocations: 1.639 MB / 261.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.02652, allocations: 192 / 261.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-05/0.02658, allocations: 48.09 kB / 261.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.02659, allocations: 16 kB / 261.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003436/0.03003, allocations: 229.8 kB / 262.2 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.03228, allocations: 1.277 MB / 263.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004502/0.03678, allocations: 0.4909 MB / 263.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.03705, allocations: 162.7 kB / 264.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.0371, allocations: 20.64 kB / 264.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.03713, allocations: 47.22 kB / 264.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/0.03713, allocations: 0 / 264.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0009535/0.03809, allocations: 0.5253 MB / 264.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.03812, allocations: 64.06 kB / 264.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.03859, allocations: 0.5819 MB / 265.3 MB, free: 8.684 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.03864, allocations: 41.7 kB / 265.4 MB, free: 8.637 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.03881, allocations: 326.6 kB / 265.7 MB, free: 8.312 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003161/0.04197, allocations: 265.7 kB / 265.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.04217, allocations: 158.5 kB / 266.1 MB, free: 7.887 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.04226, allocations: 341.9 kB / 266.4 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.04244, allocations: 163.1 kB / 266.6 MB, free: 7.371 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/0.04309, allocations: 1.35 MB / 267.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.0435, allocations: 387.7 kB / 268.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.0435, allocations: 4 kB / 268.3 MB, free: 5.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006548/0.04416, allocations: 0.611 MB / 268.9 MB, free: 4.574 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/0.04421, allocations: 93.09 kB / 269 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.04422, allocations: 4 kB / 269 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002216/0.04444, allocations: 96.16 kB / 269.1 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003584/0.04802, allocations: 195.1 kB / 269.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006368/0.05439, allocations: 5.993 MB / 275.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.05482, allocations: 91.48 kB / 275.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.05486, allocations: 16 kB / 275.4 MB, free: 13.63 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.0001898/0.05505, allocations: 169.7 kB / 275.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.05516, allocations: 95.84 kB / 275.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.05527, allocations: 96 kB / 275.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.05528, allocations: 8 kB / 275.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.05528, allocations: 0 / 275.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004957/0.05578, allocations: 0.6459 MB / 276.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/0.06001, allocations: 0.9139 MB / 277.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.06001, allocations: 0 / 277.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007743/0.06079, allocations: 196.5 kB / 277.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.06101, allocations: 107.2 kB / 277.6 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.922e-05/0.06107, allocations: 24.78 kB / 277.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.0611, allocations: 16 kB / 277.7 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005575/0.06166, allocations: 1.182 MB / 278.9 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.06166, allocations: 0 / 278.9 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006448/0.06231, allocations: 0.5549 MB / 279.4 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-05/0.06239, allocations: 20 kB / 279.4 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.06274, allocations: 39.97 kB / 279.5 MB, free: 9.305 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00306/0.0658, allocations: 48.44 kB / 279.5 MB, free: 9.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.06582, allocations: 12 kB / 279.5 MB, free: 9.242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002461/0.06607, allocations: 292.5 kB / 279.8 MB, free: 8.957 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06607, allocations: 0 / 279.8 MB, free: 8.957 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005518/0.06662, allocations: 303.6 kB / 280.1 MB, free: 8.66 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.0001226/0.06674, allocations: 104.5 kB / 280.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009391/0.06768, allocations: 1.175 MB / 281.4 MB, free: 7.254 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-05/0.06771, allocations: 23.88 kB / 281.4 MB, free: 7.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.06798, allocations: 292.4 kB / 281.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.06875, allocations: 377.6 kB / 282.1 MB, free: 6.566 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/0.0871, allocations: 1.456 MB / 283.5 MB, free: 5.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.08721, allocations: 177.4 kB / 283.7 MB, free: 4.875 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003039/0.08751, allocations: 115 kB / 283.8 MB, free: 4.758 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000606/0.08812, allocations: 429 kB / 284.2 MB, free: 4.34 MB / 282.7 MB Notification: Performance of SimCode: time 9.11e-07/0.08812, allocations: 4 kB / 284.2 MB, free: 4.336 MB / 282.7 MB Notification: Performance of Templates: time 0.1156/0.2037, allocations: 22.21 MB / 306.4 MB, free: 29.91 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.1638632621616125]