Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008582/0.0008582, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001905, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007017/0.0007017, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009296/0.001631, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08204/1.101, allocations: 53.65 MB / 243.3 MB, free: 15.56 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.618e-05, allocations: 6.25 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004271/0.004287, allocations: 5.588 MB / 250.1 MB, free: 8.691 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.006402, allocations: 1.506 MB / 251.6 MB, free: 7.176 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.006659, allocations: 19.88 kB / 251.6 MB, free: 7.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.006979, allocations: 206.2 kB / 251.8 MB, free: 6.953 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.007464, allocations: 420.4 kB / 252.2 MB, free: 6.539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.007804, allocations: 259.5 kB / 252.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009544/0.008758, allocations: 1.428 MB / 253.9 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.009069, allocations: 283.6 kB / 254.2 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007207/0.00979, allocations: 0.9402 MB / 255.1 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.01017, allocations: 430.8 kB / 255.6 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.01028, allocations: 124 kB / 255.7 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.0104, allocations: 120 kB / 255.8 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.01051, allocations: 183.4 kB / 256 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002781/0.01079, allocations: 367.4 kB / 256.3 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000625/0.01141, allocations: 0.8212 MB / 257.2 MB, free: 1.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-05/0.01143, allocations: 4 kB / 257.2 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01143, allocations: 0 / 257.2 MB, free: 1.566 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.01145, allocations: 0 / 257.2 MB, free: 1.566 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.001472/0.01292, allocations: 1.63 MB / 258.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.844e-05/0.01295, allocations: 8.031 kB / 258.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.01308, allocations: 148.8 kB / 258.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004692/0.01355, allocations: 433.8 kB / 259.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.01371, allocations: 305.9 kB / 259.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.01379, allocations: 88.38 kB / 259.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008514/0.01464, allocations: 1.636 MB / 261.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.01466, allocations: 192 / 261.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.23e-05/0.0147, allocations: 32.38 kB / 261.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.01471, allocations: 19.94 kB / 261.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.015, allocations: 233.8 kB / 261.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.01672, allocations: 1.277 MB / 262.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009566/0.01768, allocations: 0.4948 MB / 263.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000201/0.01788, allocations: 162.7 kB / 263.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.01793, allocations: 20.64 kB / 263.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.01795, allocations: 47.22 kB / 263.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.134e-06/0.01796, allocations: 0 / 263.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0007431/0.0187, allocations: 0.5292 MB / 264.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.01873, allocations: 68 kB / 264.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.01908, allocations: 0.578 MB / 264.8 MB, free: 9.332 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.01912, allocations: 45.7 kB / 264.9 MB, free: 9.281 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.01925, allocations: 330.6 kB / 265.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.01938, allocations: 261.7 kB / 265.5 MB, free: 8.695 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.01952, allocations: 158.5 kB / 265.6 MB, free: 8.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.0196, allocations: 337.9 kB / 265.9 MB, free: 8.195 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.01974, allocations: 163.1 kB / 266.1 MB, free: 8.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.02023, allocations: 1.347 MB / 267.5 MB, free: 6.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.02054, allocations: 383.7 kB / 267.8 MB, free: 5.902 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.02054, allocations: 4 kB / 267.8 MB, free: 5.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005098/0.02105, allocations: 0.6111 MB / 268.4 MB, free: 5.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.0211, allocations: 89.09 kB / 268.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.02111, allocations: 0 / 268.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.0213, allocations: 96.3 kB / 268.6 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.02173, allocations: 198.2 kB / 268.8 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/0.02441, allocations: 6.001 MB / 274.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.02478, allocations: 87.48 kB / 274.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.02481, allocations: 20.03 kB / 274.9 MB, free: 14.28 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.0001722/0.02498, allocations: 169.7 kB / 275.1 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.02506, allocations: 83.91 kB / 275.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.134e-05/0.02515, allocations: 103.9 kB / 275.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.02516, allocations: 4 kB / 275.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.02516, allocations: 4 kB / 275.3 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004322/0.0256, allocations: 0.6537 MB / 275.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.02662, allocations: 0.9139 MB / 276.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.02662, allocations: 0 / 276.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.02708, allocations: 196.4 kB / 277 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.02725, allocations: 99.25 kB / 277.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.747e-05/0.02731, allocations: 32.77 kB / 277.2 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.02734, allocations: 12 kB / 277.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004946/0.02783, allocations: 1.182 MB / 278.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.02783, allocations: 4.031 kB / 278.4 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005295/0.02836, allocations: 0.5548 MB / 278.9 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.02843, allocations: 20 kB / 278.9 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.02869, allocations: 31.97 kB / 279 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.02875, allocations: 56.39 kB / 279 MB, free: 9.898 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.02877, allocations: 15.98 kB / 279 MB, free: 9.883 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.02897, allocations: 288.5 kB / 279.3 MB, free: 9.602 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02897, allocations: 0 / 279.3 MB, free: 9.602 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004755/0.02945, allocations: 307.6 kB / 279.6 MB, free: 9.301 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.0001458/0.02959, allocations: 104.3 kB / 279.7 MB, free: 9.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008824/0.03047, allocations: 1.171 MB / 280.9 MB, free: 7.898 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.05e-05/0.03049, allocations: 15.94 kB / 280.9 MB, free: 7.883 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.03074, allocations: 296.3 kB / 281.2 MB, free: 7.578 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/0.03135, allocations: 377.5 kB / 281.6 MB, free: 7.215 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.0419, allocations: 1.461 MB / 283 MB, free: 5.715 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.04203, allocations: 169.5 kB / 283.2 MB, free: 5.527 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003667/0.04239, allocations: 123 kB / 283.3 MB, free: 5.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006475/0.04304, allocations: 433 kB / 283.7 MB, free: 4.98 MB / 282.7 MB Notification: Performance of SimCode: time 1.393e-06/0.04304, allocations: 0 / 283.7 MB, free: 4.98 MB / 282.7 MB Notification: Performance of Templates: time 0.122/0.165, allocations: 22.21 MB / 305.9 MB, free: 31.17 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.133484677411616]