Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.001167/0.001167, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001619/0.002786, 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.001116/0.001116, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009069/0.002023, 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.905/0.905, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07775/0.9827, 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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186e-05/1.324e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.007743/0.007756, allocations: 4.943 MB / 249.9 MB, free: 8.688 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007876/0.01563, allocations: 1.366 MB / 251.3 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.01587, allocations: 15.94 kB / 251.3 MB, free: 7.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.01615, allocations: 166.5 kB / 251.5 MB, free: 7.133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004955/0.01665, allocations: 349 kB / 251.8 MB, free: 6.789 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.01699, allocations: 227.5 kB / 252.1 MB, free: 6.566 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009524/0.01794, allocations: 1.199 MB / 253.3 MB, free: 5.363 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003069/0.01825, allocations: 236.5 kB / 253.5 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007536/0.019, allocations: 0.8037 MB / 254.3 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004235/0.01942, allocations: 371 kB / 254.7 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.01955, allocations: 104 kB / 254.8 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.01968, allocations: 111.9 kB / 254.9 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.0198, allocations: 155.5 kB / 255 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.02011, allocations: 311.4 kB / 255.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003669/0.02378, allocations: 0.6968 MB / 256 MB, free: 2.566 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.02379, allocations: 4 kB / 256 MB, free: 2.562 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02379, allocations: 0 / 256 MB, free: 2.562 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.02381, allocations: 0 / 256 MB, free: 2.562 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001593/0.0254, allocations: 1.423 MB / 257.4 MB, free: 1.094 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.02544, allocations: 8.031 kB / 257.5 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.02559, allocations: 132.8 kB / 257.6 MB, free: 0.957 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000492/0.02609, allocations: 369.3 kB / 257.9 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.02626, allocations: 289.2 kB / 258.2 MB, free: 232 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.705e-05/0.02634, allocations: 76.33 kB / 258.3 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003921/0.03026, allocations: 1.418 MB / 259.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.03028, allocations: 192 / 259.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.03033, allocations: 32.12 kB / 259.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.03034, allocations: 16 kB / 259.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.03068, allocations: 202.3 kB / 260 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004762/0.03544, allocations: 1.068 MB / 261 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/0.03606, allocations: 373.9 kB / 261.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.03627, allocations: 162.7 kB / 261.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/0.03631, allocations: 16.64 kB / 261.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.03635, allocations: 47.22 kB / 261.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.984e-06/0.03635, allocations: 0 / 261.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001842/0.03819, allocations: 0.8325 MB / 262.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.03822, allocations: 68.06 kB / 262.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/0.04159, allocations: 471.1 kB / 263 MB, free: 11.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.04164, allocations: 45.7 kB / 263 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.04178, allocations: 262.4 kB / 263.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.04193, allocations: 261.7 kB / 263.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.04211, allocations: 150.5 kB / 263.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.04223, allocations: 394.6 kB / 264.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.04241, allocations: 163.1 kB / 264.2 MB, free: 9.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005633/0.04297, allocations: 1.173 MB / 265.4 MB, free: 8.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.04334, allocations: 358.1 kB / 265.7 MB, free: 7.961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.04335, allocations: 0 / 265.7 MB, free: 7.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007975/0.04414, allocations: 0.6764 MB / 266.4 MB, free: 7.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.04419, allocations: 89.09 kB / 266.5 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.0442, allocations: 0 / 266.5 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/0.04453, allocations: 171.3 kB / 266.7 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.04489, allocations: 171.8 kB / 266.8 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.04793, allocations: 5.301 MB / 272.1 MB, free: 1.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.04821, allocations: 87.61 kB / 272.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.04823, allocations: 12 kB / 272.2 MB, free: 1.031 MB / 266.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.0001416/0.04837, allocations: 161.7 kB / 272.4 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-05/0.04845, allocations: 79.91 kB / 272.5 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.026e-05/0.04853, allocations: 86.75 kB / 272.6 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.04854, allocations: 8 kB / 272.6 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.04854, allocations: 0 / 272.6 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006319/0.04917, allocations: 0.7801 MB / 273.4 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.0505, allocations: 0.9735 MB / 274.3 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.05051, allocations: 4 kB / 274.3 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.05086, allocations: 167.8 kB / 274.5 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.051, allocations: 95.3 kB / 274.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002541/0.05126, allocations: 146.6 kB / 274.7 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.05128, allocations: 15.94 kB / 274.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.05325, allocations: 4.014 MB / 278.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.05325, allocations: 0 / 278.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007547/0.054, allocations: 0.7078 MB / 279.5 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.05406, allocations: 20 kB / 279.5 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.0543, allocations: 31.98 kB / 279.5 MB, free: 9.289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.05438, allocations: 68.41 kB / 279.6 MB, free: 9.223 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.0544, allocations: 16 kB / 279.6 MB, free: 9.207 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.05454, allocations: 220.3 kB / 279.8 MB, free: 8.992 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.05454, allocations: 4 kB / 279.8 MB, free: 8.988 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004113/0.05495, allocations: 287.7 kB / 280.1 MB, free: 8.707 MB / 282.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 9.074e-05/0.05504, allocations: 104.4 kB / 280.2 MB, free: 8.594 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009051/0.05595, allocations: 1.069 MB / 281.3 MB, free: 7.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/0.05596, allocations: 15.98 kB / 281.3 MB, free: 7.406 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.05628, allocations: 0.5523 MB / 281.8 MB, free: 6.812 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.05675, allocations: 319.1 kB / 282.1 MB, free: 6.496 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008581/0.06533, allocations: 1.344 MB / 283.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.166e-05/0.06543, allocations: 169.1 kB / 283.7 MB, free: 4.926 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.06563, allocations: 90.06 kB / 283.7 MB, free: 4.836 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004904/0.06612, allocations: 373.1 kB / 284.1 MB, free: 4.469 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.06612, allocations: 4 kB / 284.1 MB, free: 4.465 MB / 282.7 MB Notification: Performance of Templates: time 0.1035/0.1696, allocations: 21.53 MB / 305.6 MB, free: 26.74 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.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.1212198426946998]