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.0009472/0.0009472, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001004/0.001004, allocations: 167.1 kB / 25.7 MB, free: 8.445 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 0.9378/0.9378, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.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.843e-06/1.843e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.418e-05, allocations: 2.312 kB / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006749/0.006773, allocations: 4.86 MB / 256.4 MB, free: 2.395 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.01013, allocations: 1.359 MB / 257.7 MB, free: 1.02 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004596/0.01059, allocations: 11.94 kB / 257.8 MB, free: 1.008 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004646/0.01106, allocations: 166.5 kB / 257.9 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008238/0.01188, allocations: 341 kB / 258.3 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.01245, allocations: 239.5 kB / 258.5 MB, free: 280 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.01396, allocations: 1.203 MB / 259.7 MB, free: 15.06 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004575/0.01442, allocations: 236.5 kB / 259.9 MB, free: 14.81 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.01549, allocations: 0.6705 MB / 260.6 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006702/0.01616, allocations: 367 kB / 260.9 MB, free: 13.78 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.01634, allocations: 100 kB / 261 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.01654, allocations: 104 kB / 261.1 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.01673, allocations: 227.1 kB / 261.4 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.01724, allocations: 391.1 kB / 261.8 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.01833, allocations: 0.7746 MB / 262.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.01833, allocations: 0 / 262.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01834, allocations: 0 / 262.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.25e-05/0.01837, allocations: 0 / 262.5 MB, free: 12.2 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.002219/0.02059, allocations: 1.224 MB / 263.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.02063, allocations: 15.98 kB / 263.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.02086, allocations: 124.8 kB / 263.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007645/0.02163, allocations: 365.4 kB / 264.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/0.02188, allocations: 293.2 kB / 264.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.02201, allocations: 88.25 kB / 264.6 MB, free: 9.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.0234, allocations: 1.41 MB / 266 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.02342, allocations: 192 / 266 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.02349, allocations: 32.12 kB / 266.1 MB, free: 8.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.02351, allocations: 12 kB / 266.1 MB, free: 8.238 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.02398, allocations: 206.2 kB / 266.3 MB, free: 8.035 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002731/0.02671, allocations: 1.076 MB / 267.3 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008346/0.02754, allocations: 359.4 kB / 267.7 MB, free: 6.582 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.02784, allocations: 158.5 kB / 267.9 MB, free: 6.426 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.504e-05/0.0279, allocations: 20.66 kB / 267.9 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.02794, allocations: 55.14 kB / 267.9 MB, free: 6.344 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 3.216e-06/0.02795, allocations: 0 / 267.9 MB, free: 6.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.002617/0.03056, allocations: 0.8247 MB / 268.8 MB, free: 5.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003311/0.03089, allocations: 0.8234 MB / 269.6 MB, free: 4.48 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/0.03138, allocations: 475.2 kB / 270 MB, free: 4.004 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/0.03144, allocations: 45.7 kB / 270.1 MB, free: 3.953 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.03164, allocations: 270.3 kB / 270.3 MB, free: 3.684 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.03184, allocations: 253.7 kB / 270.6 MB, free: 3.434 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.03208, allocations: 146.5 kB / 270.7 MB, free: 3.285 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.03225, allocations: 390.6 kB / 271.1 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.03249, allocations: 163 kB / 271.3 MB, free: 2.719 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.03354, allocations: 1.176 MB / 272.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.03403, allocations: 366 kB / 272.8 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.03404, allocations: 0 / 272.8 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001164/0.0352, allocations: 0.6726 MB / 273.5 MB, free: 128 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/0.03526, allocations: 89.11 kB / 273.6 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.03527, allocations: 0 / 273.6 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005476/0.03582, allocations: 171.2 kB / 273.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.03626, allocations: 123.9 kB / 273.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005195/0.04145, allocations: 5.309 MB / 279.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.04197, allocations: 83.53 kB / 279.3 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.04202, allocations: 15.98 kB / 279.3 MB, free: 9.965 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.0002444/0.04226, allocations: 165.7 kB / 279.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.0424, allocations: 79.92 kB / 279.5 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.04252, allocations: 86.73 kB / 279.6 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.04253, allocations: 8 kB / 279.6 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.04254, allocations: 0 / 279.6 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/0.04362, allocations: 0.7801 MB / 280.4 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.04568, allocations: 0.9655 MB / 281.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.04569, allocations: 0 / 281.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.04616, allocations: 127.8 kB / 281.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004275/0.04659, allocations: 142.5 kB / 281.6 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.04663, allocations: 12 kB / 281.6 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003483/0.05012, allocations: 4.014 MB / 285.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.05012, allocations: 4 kB / 285.6 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.05173, allocations: 0.7 MB / 286.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.05199, allocations: 95.28 kB / 286.4 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-05/0.05209, allocations: 20 kB / 286.5 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004136/0.0525, allocations: 39.97 kB / 286.5 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.05267, allocations: 56.72 kB / 286.5 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.0527, allocations: 16 kB / 286.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002675/0.05297, allocations: 224.3 kB / 286.8 MB, free: 1.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.05297, allocations: 0 / 286.8 MB, free: 1.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001032/0.054, allocations: 291.7 kB / 287.1 MB, free: 1.695 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.0002122/0.05421, allocations: 108.4 kB / 287.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.05567, allocations: 1.069 MB / 288.2 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-05/0.05569, allocations: 4 kB / 288.2 MB, free: 412 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007098/0.0564, allocations: 0.5564 MB / 288.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009536/0.05735, allocations: 230.7 kB / 289 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.06059, allocations: 1.333 MB / 290.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.06075, allocations: 161 kB / 290.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003493/0.0611, allocations: 98 kB / 290.6 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005751/0.06167, allocations: 365.1 kB / 291 MB, free: 13.57 MB / 282.7 MB Notification: Performance of SimCode: time 2.975e-06/0.06168, allocations: 0 / 291 MB, free: 13.57 MB / 282.7 MB Notification: Performance of Templates: time 0.02018/0.08186, allocations: 19.62 MB / 310.6 MB, free: 9.949 MB / 298.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","",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.206734504085034]