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.002708/0.002708, allocations: 99.53 kB / 21.73 MB, free: 2.684 MB / 18.57 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.002257/0.002257, allocations: 166.5 kB / 25.03 MB, free: 8.93 MB / 18.57 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 1.487/1.487, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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 2.916e-06/2.916e-06, allocations: 0 / 250.4 MB, free: 7.918 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.705e-05, allocations: 2.312 kB / 250.4 MB, free: 7.914 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.007997/0.008034, allocations: 4.896 MB / 255.3 MB, free: 2.996 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.01096, allocations: 1.297 MB / 256.6 MB, free: 1.688 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003758/0.01134, allocations: 11.94 kB / 256.6 MB, free: 1.676 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004965/0.01184, allocations: 166.5 kB / 256.7 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007604/0.0126, allocations: 348.9 kB / 257.1 MB, free: 1.164 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.01311, allocations: 223.6 kB / 257.3 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.01469, allocations: 1.207 MB / 258.5 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007117/0.0154, allocations: 230.4 kB / 258.7 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.01649, allocations: 0.6705 MB / 259.4 MB, free: 14.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006214/0.01711, allocations: 378.9 kB / 259.8 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.01729, allocations: 104 kB / 259.9 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.01749, allocations: 104 kB / 260 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.01774, allocations: 227.2 kB / 260.2 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005065/0.01825, allocations: 383.2 kB / 260.6 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.0198, allocations: 1.231 MB / 261.8 MB, free: 12.42 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.0198, allocations: 0 / 261.8 MB, free: 12.42 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.0198, allocations: 0 / 261.8 MB, free: 12.42 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.01982, allocations: 0 / 261.8 MB, free: 12.42 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.00274/0.02256, allocations: 1.419 MB / 263.2 MB, free: 10.94 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.0226, allocations: 15.92 kB / 263.2 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002775/0.02287, allocations: 160.3 kB / 263.4 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009293/0.0238, allocations: 0.4975 MB / 263.9 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003178/0.02412, allocations: 293.2 kB / 264.2 MB, free: 9.902 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.02426, allocations: 80.31 kB / 264.2 MB, free: 9.824 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.02669, allocations: 1.682 MB / 265.9 MB, free: 7.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.02671, allocations: 192 / 265.9 MB, free: 7.82 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.64e-05/0.02679, allocations: 32.12 kB / 266 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.02681, allocations: 16 kB / 266 MB, free: 7.773 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.02807, allocations: 0.5244 MB / 266.5 MB, free: 7.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/0.0319, allocations: 1.792 MB / 268.3 MB, free: 5.422 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.03372, allocations: 0.6936 MB / 269 MB, free: 4.715 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007632/0.03449, allocations: 329.7 kB / 269.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.445e-05/0.03456, allocations: 16.66 kB / 269.3 MB, free: 4.371 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.03462, allocations: 54.03 kB / 269.4 MB, free: 4.309 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/0.03462, allocations: 4.547 kB / 269.4 MB, free: 4.305 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.004763/0.03938, allocations: 1.378 MB / 270.8 MB, free: 2.906 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006141/0.04, allocations: 0.8234 MB / 271.6 MB, free: 1.883 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.04105, allocations: 0.7252 MB / 272.3 MB, free: 1.141 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.02e-05/0.04113, allocations: 45.7 kB / 272.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/0.0418, allocations: 431.9 kB / 272.8 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/0.0421, allocations: 277.7 kB / 273 MB, free: 396 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003081/0.04241, allocations: 168.3 kB / 273.2 MB, free: 220 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004191/0.04283, allocations: 0.5977 MB / 273.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006401/0.04347, allocations: 315 kB / 274.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.0451, allocations: 1.455 MB / 275.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.04641, allocations: 0.6822 MB / 276.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.04641, allocations: 0 / 276.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002725/0.04914, allocations: 1.13 MB / 277.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.229e-05/0.04923, allocations: 85.05 kB / 277.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.04924, allocations: 0 / 277.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.05027, allocations: 262.6 kB / 277.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/0.05088, allocations: 131.8 kB / 277.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.06219, allocations: 8.517 MB / 286.4 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009893/0.06318, allocations: 87.53 kB / 286.5 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.758e-05/0.06325, allocations: 23.98 kB / 286.5 MB, free: 1.961 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.0007025/0.06395, allocations: 260.5 kB / 286.7 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.06418, allocations: 119.4 kB / 286.8 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.06438, allocations: 82.75 kB / 286.9 MB, free: 1.496 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.06439, allocations: 8 kB / 286.9 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.06439, allocations: 0 / 286.9 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002376/0.06677, allocations: 1.148 MB / 288.1 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004072/0.07084, allocations: 1.755 MB / 289.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.07085, allocations: 0 / 289.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/0.07152, allocations: 123.9 kB / 290 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008281/0.07235, allocations: 230.9 kB / 290.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.0724, allocations: 15.98 kB / 290.2 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008224/0.08062, allocations: 6.512 MB / 296.7 MB, free: 7.148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.08062, allocations: 4.094 kB / 296.7 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003259/0.08388, allocations: 1.346 MB / 298.1 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/0.08429, allocations: 159.2 kB / 298.2 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.0844, allocations: 20 kB / 298.2 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006173/0.08501, allocations: 35.97 kB / 298.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.0852, allocations: 68.47 kB / 298.3 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/0.08525, allocations: 20 kB / 298.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007136/0.08596, allocations: 486.7 kB / 298.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08596, allocations: 0 / 298.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00103/0.08699, allocations: 287.7 kB / 299.1 MB, free: 4.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 0.0002218/0.08722, allocations: 119.2 kB / 299.2 MB, free: 4.582 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002764/0.08998, allocations: 1.599 MB / 300.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.08998, allocations: 0 / 300.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.09122, allocations: 0.8654 MB / 301.7 MB, free: 1.926 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.09225, allocations: 242.9 kB / 301.9 MB, free: 1.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.09535, allocations: 1.504 MB / 303.4 MB, free: 144 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.09582, allocations: 349.3 kB / 303.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003984/0.09622, allocations: 98 kB / 303.9 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.0964, allocations: 60.5 kB / 303.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.0964, allocations: 0 / 303.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of Templates: time 0.036/0.1324, allocations: 18.5 MB / 322.4 MB, free: 13.12 MB / 314.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.587048490997404]