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.0007586/0.0007586, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002124, allocations: 445.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.0009961/0.0009961, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001571/0.002567, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9475/0.9475, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.146/1.093, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.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 2.324e-06/2.324e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.702e-05, allocations: 10.25 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007836/0.007873, allocations: 5.577 MB / 227.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003726/0.0116, allocations: 1.527 MB / 228.9 MB, free: 9.02 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006879/0.01229, allocations: 19.88 kB / 229 MB, free: 9 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005437/0.01283, allocations: 202.3 kB / 229.2 MB, free: 8.801 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.01387, allocations: 416.4 kB / 229.6 MB, free: 8.391 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000636/0.01451, allocations: 267.5 kB / 229.8 MB, free: 8.129 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.01624, allocations: 1.421 MB / 231.3 MB, free: 6.699 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004984/0.01674, allocations: 275.6 kB / 231.5 MB, free: 6.402 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.01821, allocations: 0.9401 MB / 232.5 MB, free: 5.449 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008291/0.01904, allocations: 434.8 kB / 232.9 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.01929, allocations: 120 kB / 233 MB, free: 4.906 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.01953, allocations: 120 kB / 233.1 MB, free: 4.789 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.01972, allocations: 187.4 kB / 233.3 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005259/0.02024, allocations: 363.4 kB / 233.7 MB, free: 4.25 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.02132, allocations: 0.8213 MB / 234.5 MB, free: 3.426 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.768e-05/0.02134, allocations: 3.938 kB / 234.5 MB, free: 3.422 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.02134, allocations: 0 / 234.5 MB, free: 3.422 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.961e-05/0.02138, allocations: 0 / 234.5 MB, free: 3.422 MB / 234.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.002449/0.02383, allocations: 1.63 MB / 236.1 MB, free: 1.742 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.02387, allocations: 11.89 kB / 236.1 MB, free: 1.73 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.02412, allocations: 148.8 kB / 236.3 MB, free: 1.586 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007914/0.02491, allocations: 429.8 kB / 236.7 MB, free: 1.141 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002806/0.02519, allocations: 301.9 kB / 237 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.02531, allocations: 88.36 kB / 237.1 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.02675, allocations: 1.639 MB / 238.7 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.02677, allocations: 4.188 kB / 238.7 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.02683, allocations: 36.12 kB / 238.7 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.02685, allocations: 16 kB / 238.8 MB, free: 14.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.0273, allocations: 233.8 kB / 239 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.02977, allocations: 1.281 MB / 240.3 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009563/0.03072, allocations: 0.491 MB / 240.8 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.03094, allocations: 162.7 kB / 240.9 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.03099, allocations: 20.66 kB / 240.9 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.03103, allocations: 51.22 kB / 241 MB, free: 12.39 MB / 250.7 MB Notification: Performance of pre-optimization done (n=72): time 2.855e-06/0.03103, allocations: 0 / 241 MB, free: 12.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=72): time 0.0008713/0.0319, allocations: 0.5253 MB / 241.5 MB, free: 11.85 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.03194, allocations: 64.06 kB / 241.6 MB, free: 11.78 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.03232, allocations: 0.5858 MB / 242.2 MB, free: 11.18 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.03237, allocations: 49.64 kB / 242.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.03252, allocations: 318.6 kB / 242.5 MB, free: 10.81 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.03265, allocations: 265.7 kB / 242.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.03278, allocations: 158.5 kB / 242.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.03287, allocations: 337.9 kB / 243.3 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.03301, allocations: 167 kB / 243.4 MB, free: 9.867 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005376/0.03355, allocations: 1.343 MB / 244.8 MB, free: 8.164 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.03389, allocations: 391.7 kB / 245.2 MB, free: 7.75 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.03389, allocations: 0 / 245.2 MB, free: 7.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006215/0.03451, allocations: 0.6032 MB / 245.8 MB, free: 7.09 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.575e-05/0.03459, allocations: 89.11 kB / 245.8 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.0346, allocations: 0 / 245.8 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.0348, allocations: 100.3 kB / 245.9 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.03525, allocations: 191.7 kB / 246.1 MB, free: 6.684 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/0.03824, allocations: 5.989 MB / 252.1 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/0.03874, allocations: 95.62 kB / 252.2 MB, free: 168 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.03877, allocations: 19.98 kB / 252.2 MB, free: 148 kB / 250.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.0003004/0.03907, allocations: 165.8 kB / 252.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.03919, allocations: 91.84 kB / 252.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.0393, allocations: 96 kB / 252.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.0393, allocations: 8 kB / 252.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.03931, allocations: 4 kB / 252.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000463/0.03977, allocations: 0.6498 MB / 253.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.04086, allocations: 0.91 MB / 254.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.04087, allocations: 0 / 254.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.0413, allocations: 203.7 kB / 254.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.04149, allocations: 103.2 kB / 254.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.934e-05/0.04156, allocations: 20.84 kB / 254.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.04159, allocations: 19.98 kB / 254.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005014/0.04209, allocations: 1.186 MB / 255.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.04209, allocations: 0 / 255.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005316/0.04262, allocations: 0.5548 MB / 256.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.128e-05/0.04269, allocations: 20 kB / 256.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.04295, allocations: 35.97 kB / 256.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.04301, allocations: 52.53 kB / 256.3 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.04302, allocations: 8 kB / 256.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.04323, allocations: 308.3 kB / 256.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04323, allocations: 0 / 256.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000542/0.04377, allocations: 299.6 kB / 256.9 MB, free: 11.16 MB / 266.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.000119/0.04389, allocations: 100.4 kB / 257 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008434/0.04473, allocations: 1.174 MB / 258.2 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.151e-05/0.04476, allocations: 12 kB / 258.2 MB, free: 9.754 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.04498, allocations: 288.4 kB / 258.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006174/0.04559, allocations: 370.7 kB / 258.9 MB, free: 9.094 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.05583, allocations: 1.481 MB / 260.3 MB, free: 7.574 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.05595, allocations: 173.4 kB / 260.5 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004243/0.05638, allocations: 123 kB / 260.6 MB, free: 7.258 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000619/0.057, allocations: 429 kB / 261.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of SimCode: time 1.683e-06/0.057, allocations: 0 / 261.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of Templates: time 0.02385/0.08085, allocations: 22.2 MB / 283.3 MB, free: 0.6289 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 -ignoreHideResult -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.1303733829408884]