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.0009127/0.0009127, allocations: 80.8 kB / 21.5 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.001816/0.001816, allocations: 173.3 kB / 24.91 MB, free: 9.211 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.9558/0.9558, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.373e-06/1.373e-06, allocations: 0 / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.716e-05, allocations: 2.312 kB / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004085/0.004102, allocations: 4.923 MB / 278.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.006166, allocations: 1.358 MB / 279.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.006425, allocations: 11.94 kB / 279.8 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.006728, allocations: 162.6 kB / 279.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004618/0.007189, allocations: 349 kB / 280.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.007527, allocations: 227.6 kB / 280.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008757/0.008403, allocations: 1.207 MB / 281.7 MB, free: 8.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.008681, allocations: 236.4 kB / 281.9 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000572/0.009253, allocations: 0.6704 MB / 282.6 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003907/0.009643, allocations: 379 kB / 283 MB, free: 7.691 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.656e-05/0.00974, allocations: 100 kB / 283.1 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.009839, allocations: 104 kB / 283.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.009947, allocations: 223.2 kB / 283.4 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.0102, allocations: 383.2 kB / 283.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007463/0.01095, allocations: 0.7746 MB / 284.5 MB, free: 6.121 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.01095, allocations: 4 kB / 284.5 MB, free: 6.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01095, allocations: 0 / 284.5 MB, free: 6.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.01096, allocations: 0 / 284.5 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.001163/0.01212, allocations: 1.217 MB / 285.8 MB, free: 4.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.01216, allocations: 8.031 kB / 285.8 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.01229, allocations: 124.8 kB / 285.9 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.0127, allocations: 373.3 kB / 286.3 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.01285, allocations: 297.2 kB / 286.5 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/0.01292, allocations: 76.36 kB / 286.6 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007487/0.01367, allocations: 1.41 MB / 288 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.01368, allocations: 192 / 288 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.01372, allocations: 36.12 kB / 288.1 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.01373, allocations: 12 kB / 288.1 MB, free: 2.164 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.01401, allocations: 210.3 kB / 288.3 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.01554, allocations: 1.064 MB / 289.3 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005286/0.01606, allocations: 363.4 kB / 289.7 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.01625, allocations: 162 kB / 289.9 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/0.01629, allocations: 28.58 kB / 289.9 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.01633, allocations: 47.22 kB / 289.9 MB, free: 284 kB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 1.934e-06/0.01633, allocations: 4 kB / 289.9 MB, free: 280 kB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.1112/0.1275, allocations: 0.8199 MB / 290.8 MB, free: 26.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.1276, allocations: 0.8226 MB / 291.6 MB, free: 25.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.128, allocations: 480.2 kB / 292 MB, free: 25.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.1281, allocations: 43.11 kB / 292.1 MB, free: 25.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.1282, allocations: 262.6 kB / 292.3 MB, free: 25.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.1283, allocations: 265.9 kB / 292.6 MB, free: 25.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.1285, allocations: 149.3 kB / 292.8 MB, free: 25.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.1286, allocations: 386.6 kB / 293.1 MB, free: 24.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.1287, allocations: 163.8 kB / 293.3 MB, free: 24.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.1291, allocations: 1.167 MB / 294.5 MB, free: 23.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.1294, allocations: 368.3 kB / 294.8 MB, free: 23.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1294, allocations: 1.219 kB / 294.8 MB, free: 23.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008244/0.1303, allocations: 0.6692 MB / 295.5 MB, free: 22.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.1303, allocations: 88.75 kB / 295.6 MB, free: 22.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1303, allocations: 1.156 kB / 295.6 MB, free: 22.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003888/0.1307, allocations: 163.3 kB / 295.7 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.1311, allocations: 164.1 kB / 295.9 MB, free: 22.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/0.1338, allocations: 5.301 MB / 301.2 MB, free: 18.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.1342, allocations: 78.8 kB / 301.3 MB, free: 18.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.1342, allocations: 23.02 kB / 301.3 MB, free: 18.11 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.0001583/0.1344, allocations: 165.4 kB / 301.5 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1345, allocations: 83.83 kB / 301.5 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.889e-05/0.1346, allocations: 83.95 kB / 301.6 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1346, allocations: 7.438 kB / 301.6 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1346, allocations: 5.094 kB / 301.6 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006764/0.1353, allocations: 0.7778 MB / 302.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.1366, allocations: 0.9662 MB / 303.4 MB, free: 17.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1367, allocations: 0 / 303.4 MB, free: 17.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.137, allocations: 156.4 kB / 303.5 MB, free: 17.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002976/0.1373, allocations: 145.1 kB / 303.7 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.1374, allocations: 13.27 kB / 303.7 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/0.1393, allocations: 4.035 MB / 307.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1393, allocations: 0 / 307.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/0.1403, allocations: 0.7063 MB / 308.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.1405, allocations: 89.17 kB / 308.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.1405, allocations: 16.86 kB / 308.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.1408, allocations: 34.95 kB / 308.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.1409, allocations: 64.02 kB / 308.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.1409, allocations: 22.72 kB / 308.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001881/0.1411, allocations: 229.4 kB / 308.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1411, allocations: 0 / 308.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006145/0.1417, allocations: 288.5 kB / 309.2 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.0001132/0.1418, allocations: 98.48 kB / 309.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007617/0.1426, allocations: 1.075 MB / 310.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/0.1426, allocations: 8.031 kB / 310.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.143, allocations: 0.5517 MB / 310.9 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.1435, allocations: 241.2 kB / 311.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.1453, allocations: 1.33 MB / 312.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.1454, allocations: 163 kB / 312.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003024/0.1457, allocations: 96.61 kB / 312.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/0.1462, allocations: 373.4 kB / 313.1 MB, free: 11 MB / 266.7 MB Notification: Performance of SimCode: time 1.733e-06/0.1462, allocations: 0 / 313.1 MB, free: 11 MB / 266.7 MB Notification: Performance of Templates: time 0.02043/0.1667, allocations: 19.94 MB / 333 MB, free: 8.715 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 -s gbode -gbm=radauIIA3 -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.1481222342699766]