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.00135/0.00135, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001548/0.001548, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.452/1.452, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.222e-06/1.222e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.017e-05, allocations: 3.906 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005647/0.005668, allocations: 4.44 MB / 329.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.008126, allocations: 1.268 MB / 330.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.008418, allocations: 13.31 kB / 330.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004084/0.008826, allocations: 163.8 kB / 330.9 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006692/0.009496, allocations: 338.9 kB / 331.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.009971, allocations: 231.9 kB / 331.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.01128, allocations: 1.211 MB / 332.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.01168, allocations: 225.8 kB / 332.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007669/0.01245, allocations: 0.6643 MB / 333.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005623/0.01301, allocations: 375.6 kB / 333.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.01316, allocations: 101.8 kB / 334 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.01334, allocations: 102.9 kB / 334.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.01355, allocations: 226.2 kB / 334.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004591/0.01401, allocations: 383.3 kB / 334.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.01535, allocations: 1.227 MB / 335.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01535, allocations: 0 / 335.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.01535, allocations: 1.562 kB / 335.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.01537, allocations: 0 / 335.9 MB, free: 9.211 MB / 302.1 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.002483/0.01785, allocations: 1.254 MB / 337.2 MB, free: 8.242 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.01789, allocations: 13.14 kB / 337.2 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.01811, allocations: 115.1 kB / 337.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009462/0.01906, allocations: 0.4906 MB / 337.8 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/0.01937, allocations: 303.6 kB / 338.1 MB, free: 7.473 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.01947, allocations: 59.78 kB / 338.2 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.0214, allocations: 1.598 MB / 339.8 MB, free: 5.863 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.02142, allocations: 4.125 kB / 339.8 MB, free: 5.859 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.956e-05/0.0215, allocations: 32.12 kB / 339.8 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.02151, allocations: 12 kB / 339.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.02284, allocations: 0.5556 MB / 340.4 MB, free: 5.262 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003479/0.02632, allocations: 1.562 MB / 341.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.02817, allocations: 0.6973 MB / 342.6 MB, free: 2.953 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007729/0.02894, allocations: 334.7 kB / 342.9 MB, free: 2.621 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.124e-05/0.029, allocations: 8.656 kB / 343 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.02904, allocations: 47.22 kB / 343 MB, free: 2.555 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.374e-06/0.02905, allocations: 0 / 343 MB, free: 2.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005287/0.03433, allocations: 1.43 MB / 344.4 MB, free: 1.109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004543/0.03479, allocations: 0.8195 MB / 345.2 MB, free: 96 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007816/0.03557, allocations: 0.5657 MB / 345.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.016e-05/0.03566, allocations: 45.7 kB / 345.9 MB, free: 15.47 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.03597, allocations: 349.1 kB / 346.2 MB, free: 15.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.03621, allocations: 261.7 kB / 346.5 MB, free: 14.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.03648, allocations: 150.6 kB / 346.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.03669, allocations: 380.4 kB / 347 MB, free: 14.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.03736, allocations: 331 kB / 347.3 MB, free: 13.99 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.03875, allocations: 1.36 MB / 348.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.04006, allocations: 0.6349 MB / 349.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.04006, allocations: 0 / 349.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002826/0.04289, allocations: 1.123 MB / 350.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.696e-05/0.04296, allocations: 89.03 kB / 350.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.04297, allocations: 0 / 350.5 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007797/0.04375, allocations: 235.3 kB / 350.7 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.04438, allocations: 127.8 kB / 350.9 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008912/0.0533, allocations: 6.387 MB / 357.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.0543, allocations: 91.75 kB / 357.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.05437, allocations: 23.98 kB / 357.4 MB, free: 3.102 MB / 318.1 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.0003862/0.05475, allocations: 213.8 kB / 357.6 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.05492, allocations: 87.47 kB / 357.7 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.05511, allocations: 86.69 kB / 357.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.05512, allocations: 8 kB / 357.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.05513, allocations: 192 / 357.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002614/0.05774, allocations: 1.19 MB / 358.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003901/0.06164, allocations: 1.602 MB / 360.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.06165, allocations: 0 / 360.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006821/0.06233, allocations: 127.8 kB / 360.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006154/0.06294, allocations: 202.5 kB / 360.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.06299, allocations: 15.98 kB / 360.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006986/0.06998, allocations: 4.901 MB / 365.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.06998, allocations: 0 / 365.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003439/0.07342, allocations: 1.305 MB / 367.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000411/0.07383, allocations: 163.3 kB / 367.2 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.07396, allocations: 20 kB / 367.3 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006794/0.07464, allocations: 39.97 kB / 367.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.07484, allocations: 60.53 kB / 367.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.116e-05/0.07491, allocations: 20 kB / 367.4 MB, free: 8.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005473/0.07545, allocations: 406.8 kB / 367.8 MB, free: 8.156 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07545, allocations: 0 / 367.8 MB, free: 8.156 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009348/0.07639, allocations: 283.7 kB / 368.1 MB, free: 7.879 MB / 334.1 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.0001887/0.07658, allocations: 131.3 kB / 368.2 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002245/0.07882, allocations: 1.341 MB / 369.5 MB, free: 6.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.07883, allocations: 4 kB / 369.5 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.07991, allocations: 0.6752 MB / 370.2 MB, free: 5.574 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.08092, allocations: 219 kB / 370.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.08381, allocations: 1.48 MB / 371.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.0842, allocations: 341.3 kB / 372.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003589/0.08456, allocations: 94.02 kB / 372.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.08473, allocations: 60.5 kB / 372.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.08473, allocations: 0 / 372.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of Templates: time 0.03089/0.1156, allocations: 18.2 MB / 390.6 MB, free: 1.461 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.116335120052099]