Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009685/0.0009685, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001094/0.001094, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9576/0.9576, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.204e-05, allocations: 5.969 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004017/0.004039, allocations: 4.888 MB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.006295, allocations: 1.347 MB / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.006544, allocations: 15.94 kB / 279.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.006861, allocations: 170.5 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004799/0.007341, allocations: 348.9 kB / 280.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.007752, allocations: 231.5 kB / 280.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.008763, allocations: 1.194 MB / 281.6 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.009049, allocations: 240.4 kB / 281.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006845/0.009734, allocations: 0.6743 MB / 282.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003777/0.01011, allocations: 379 kB / 282.9 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.375e-05/0.01021, allocations: 103.9 kB / 283 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.615e-05/0.0103, allocations: 104 kB / 283.1 MB, free: 7.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.01042, allocations: 219.2 kB / 283.3 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.01073, allocations: 383.2 kB / 283.7 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.01126, allocations: 0.7707 MB / 284.4 MB, free: 6.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01127, allocations: 0 / 284.4 MB, free: 6.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.01127, allocations: 0 / 284.4 MB, free: 6.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.01128, allocations: 0 / 284.4 MB, free: 6.117 MB / 266.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.001264/0.01254, allocations: 1.22 MB / 285.7 MB, free: 4.848 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.01257, allocations: 12.03 kB / 285.7 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.01269, allocations: 128.8 kB / 285.8 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.01308, allocations: 369.3 kB / 286.2 MB, free: 4.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.01323, allocations: 301.1 kB / 286.5 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/0.0133, allocations: 72.38 kB / 286.5 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007248/0.01403, allocations: 1.414 MB / 287.9 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.01404, allocations: 192 / 287.9 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.01408, allocations: 32.12 kB / 288 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.01409, allocations: 12 kB / 288 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.01435, allocations: 206.3 kB / 288.2 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.01603, allocations: 1.064 MB / 289.3 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.01652, allocations: 367.4 kB / 289.6 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.01669, allocations: 163.1 kB / 289.8 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.01674, allocations: 20.64 kB / 289.8 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.01676, allocations: 47.22 kB / 289.8 MB, free: 276 kB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.473e-06/0.01676, allocations: 4 kB / 289.8 MB, free: 272 kB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.1136/0.1304, allocations: 0.8196 MB / 290.7 MB, free: 26.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.1305, allocations: 0.8226 MB / 291.5 MB, free: 25.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/0.1309, allocations: 479.6 kB / 292 MB, free: 25.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.131, allocations: 45.58 kB / 292 MB, free: 25.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1311, allocations: 259.5 kB / 292.3 MB, free: 25.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.1312, allocations: 271.7 kB / 292.5 MB, free: 25.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.1314, allocations: 142.5 kB / 292.7 MB, free: 25.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.1314, allocations: 390.6 kB / 293 MB, free: 24.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.1316, allocations: 160.7 kB / 293.2 MB, free: 24.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.1319, allocations: 1.171 MB / 294.4 MB, free: 23.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.1323, allocations: 366.7 kB / 294.7 MB, free: 23.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1323, allocations: 0 / 294.7 MB, free: 23.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008154/0.1331, allocations: 0.6698 MB / 295.4 MB, free: 22.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/0.1332, allocations: 86.44 kB / 295.5 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1332, allocations: 1.719 kB / 295.5 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000393/0.1336, allocations: 167.7 kB / 295.6 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.1339, allocations: 124.8 kB / 295.8 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.1365, allocations: 5.304 MB / 301.1 MB, free: 18.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.1368, allocations: 81.83 kB / 301.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.1369, allocations: 16.09 kB / 301.2 MB, free: 18.12 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.0001545/0.137, allocations: 163.5 kB / 301.3 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.1371, allocations: 85.12 kB / 301.4 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.021e-05/0.1372, allocations: 83.27 kB / 301.5 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1372, allocations: 7.75 kB / 301.5 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.1372, allocations: 0.7031 kB / 301.5 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006843/0.1379, allocations: 0.7811 MB / 302.3 MB, free: 17.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.1393, allocations: 0.9636 MB / 303.2 MB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1394, allocations: 1.125 kB / 303.2 MB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.1397, allocations: 121.9 kB / 303.4 MB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003004/0.14, allocations: 150.1 kB / 303.5 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.14, allocations: 14.53 kB / 303.5 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.1419, allocations: 4.028 MB / 307.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1419, allocations: 1.344 kB / 307.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009457/0.1429, allocations: 0.6995 MB / 308.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.143, allocations: 86.91 kB / 308.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/0.1431, allocations: 27.83 kB / 308.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.1433, allocations: 32.53 kB / 308.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.1435, allocations: 66.41 kB / 308.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.1435, allocations: 14.28 kB / 308.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002484/0.1437, allocations: 226.7 kB / 308.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1437, allocations: 5.672 kB / 308.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007237/0.1445, allocations: 289.8 kB / 309 MB, free: 13.25 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.0001382/0.1446, allocations: 103.9 kB / 309.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007637/0.1454, allocations: 1.074 MB / 310.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.1454, allocations: 8.25 kB / 310.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.1457, allocations: 0.5488 MB / 310.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.1462, allocations: 235.4 kB / 310.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.1484, allocations: 1.329 MB / 312.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.1485, allocations: 161.5 kB / 312.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003233/0.1488, allocations: 101.3 kB / 312.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006373/0.1495, allocations: 368.2 kB / 312.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1495, allocations: 0 / 312.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of Templates: time 0.02416/0.1736, allocations: 19.64 MB / 332.5 MB, free: 9.168 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.3120530461892486]