Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.001457/0.001457, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002067/0.003524, allocations: 453.8 kB / 10.46 MB, free: 236 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.001081/0.001081, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001038/0.002119, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9517/0.9517, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1546/1.106, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.23e-05, allocations: 5.406 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004007/0.00402, allocations: 4.931 MB / 226.9 MB, free: 11.1 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.00593, allocations: 1.371 MB / 228.3 MB, free: 9.719 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.006152, allocations: 11.94 kB / 228.3 MB, free: 9.707 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.006413, allocations: 174.4 kB / 228.5 MB, free: 9.535 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.006826, allocations: 353 kB / 228.8 MB, free: 9.188 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.007161, allocations: 223.6 kB / 229 MB, free: 8.969 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009346/0.008095, allocations: 1.211 MB / 230.2 MB, free: 7.754 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.008382, allocations: 232.5 kB / 230.5 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007296/0.009112, allocations: 0.7998 MB / 231.3 MB, free: 6.695 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.009496, allocations: 375 kB / 231.6 MB, free: 6.328 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.009606, allocations: 100 kB / 231.7 MB, free: 6.23 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.009731, allocations: 104 kB / 231.8 MB, free: 6.129 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.009846, allocations: 163.4 kB / 232 MB, free: 5.969 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.01009, allocations: 307.5 kB / 232.3 MB, free: 5.668 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.01067, allocations: 0.7006 MB / 233 MB, free: 4.965 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.01068, allocations: 0 / 233 MB, free: 4.965 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01068, allocations: 0 / 233 MB, free: 4.965 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.0107, allocations: 0 / 233 MB, free: 4.965 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00165/0.01235, allocations: 1.427 MB / 234.4 MB, free: 3.492 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.01238, allocations: 8.031 kB / 234.4 MB, free: 3.484 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.01252, allocations: 124.8 kB / 234.6 MB, free: 3.363 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.01298, allocations: 365.4 kB / 234.9 MB, free: 2.977 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.01316, allocations: 293.2 kB / 235.2 MB, free: 2.633 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.027e-05/0.01324, allocations: 80.33 kB / 235.3 MB, free: 2.555 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009255/0.01417, allocations: 1.414 MB / 236.7 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.01419, allocations: 4.172 kB / 236.7 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.01424, allocations: 36.11 kB / 236.7 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.01425, allocations: 12 kB / 236.7 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.01457, allocations: 202.3 kB / 236.9 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.01618, allocations: 1.068 MB / 238 MB, free: 15.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/0.0168, allocations: 378.4 kB / 238.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.017, allocations: 162.5 kB / 238.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.01705, allocations: 16.66 kB / 238.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.01708, allocations: 51.22 kB / 238.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 1.754e-06/0.01708, allocations: 0 / 238.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.001495/0.01858, allocations: 0.8247 MB / 239.4 MB, free: 14.06 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.01861, allocations: 64.05 kB / 239.5 MB, free: 13.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.01892, allocations: 475.2 kB / 240 MB, free: 13.51 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.01896, allocations: 45.7 kB / 240 MB, free: 13.46 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.01908, allocations: 266.2 kB / 240.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.01921, allocations: 261.7 kB / 240.5 MB, free: 12.94 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.01934, allocations: 158.5 kB / 240.7 MB, free: 12.78 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.01944, allocations: 382.6 kB / 241 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.01957, allocations: 163.1 kB / 241.2 MB, free: 12.21 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.02005, allocations: 1.184 MB / 242.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.02035, allocations: 366 kB / 242.7 MB, free: 10.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02035, allocations: 0 / 242.7 MB, free: 10.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007049/0.02106, allocations: 0.6726 MB / 243.4 MB, free: 9.617 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.02111, allocations: 93.09 kB / 243.5 MB, free: 9.508 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.02112, allocations: 4.062 kB / 243.5 MB, free: 9.504 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.02145, allocations: 167.2 kB / 243.7 MB, free: 9.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.02182, allocations: 167.8 kB / 243.8 MB, free: 9.164 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.02481, allocations: 5.308 MB / 249.1 MB, free: 3.504 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.0251, allocations: 87.67 kB / 249.2 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.02513, allocations: 15.98 kB / 249.2 MB, free: 3.402 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.02528, allocations: 161.8 kB / 249.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.02536, allocations: 79.92 kB / 249.5 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.173e-05/0.02544, allocations: 90.67 kB / 249.6 MB, free: 3.066 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.02545, allocations: 8 kB / 249.6 MB, free: 3.059 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.02545, allocations: 4 kB / 249.6 MB, free: 3.055 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006758/0.02613, allocations: 0.7762 MB / 250.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.02734, allocations: 0.9694 MB / 251.3 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.02735, allocations: 0 / 251.3 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.02771, allocations: 159.8 kB / 251.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.02786, allocations: 87.33 kB / 251.6 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002743/0.02813, allocations: 142.5 kB / 251.7 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.02817, allocations: 15.98 kB / 251.7 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.03049, allocations: 4.022 MB / 255.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.03049, allocations: 4 kB / 255.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008416/0.03133, allocations: 0.7078 MB / 256.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.03139, allocations: 20 kB / 256.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.03164, allocations: 31.97 kB / 256.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.03176, allocations: 64.47 kB / 256.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.03177, allocations: 19.94 kB / 256.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.03194, allocations: 228.3 kB / 256.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03194, allocations: 0 / 256.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004966/0.03244, allocations: 283.7 kB / 257.1 MB, free: 11.09 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000131/0.03257, allocations: 104.3 kB / 257.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007963/0.03337, allocations: 1.085 MB / 258.3 MB, free: 9.781 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.928e-05/0.03339, allocations: 12 kB / 258.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.03383, allocations: 0.5848 MB / 258.9 MB, free: 9.141 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.03502, allocations: 2.145 MB / 261 MB, free: 6.578 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008625/0.04364, allocations: 1.335 MB / 262.4 MB, free: 5.203 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.04376, allocations: 161.2 kB / 262.5 MB, free: 5.027 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002646/0.04403, allocations: 94.3 kB / 262.6 MB, free: 4.934 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/0.0446, allocations: 385 kB / 263 MB, free: 4.559 MB / 266.7 MB Notification: Performance of SimCode: time 1.964e-06/0.04461, allocations: 0 / 263 MB, free: 4.559 MB / 266.7 MB Notification: Performance of Templates: time 0.1223/0.1669, allocations: 22.13 MB / 285.1 MB, free: 53.72 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4363580280914903]