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.002387/0.002387, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002873/0.002873, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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 1.556/1.556, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.513e-06/1.513e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.615e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.007177/0.007203, allocations: 4.908 MB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.009585, allocations: 1.304 MB / 278.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.009839, allocations: 11.94 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.01028, allocations: 166.5 kB / 278.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006757/0.01096, allocations: 349 kB / 279 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.01138, allocations: 219.6 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.01281, allocations: 1.211 MB / 280.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.0132, allocations: 214.5 kB / 280.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008405/0.01404, allocations: 0.6705 MB / 281.3 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005963/0.01464, allocations: 379 kB / 281.7 MB, free: 8.367 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.01481, allocations: 100 kB / 281.8 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.01502, allocations: 104 kB / 281.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.01526, allocations: 227.2 kB / 282.1 MB, free: 7.945 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004776/0.01573, allocations: 379.2 kB / 282.5 MB, free: 7.574 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.0172, allocations: 1.242 MB / 283.7 MB, free: 6.328 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.0172, allocations: 0 / 283.7 MB, free: 6.328 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.0172, allocations: 0 / 283.7 MB, free: 6.328 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.01721, allocations: 0 / 283.7 MB, free: 6.328 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.00266/0.01987, allocations: 1.407 MB / 285.2 MB, free: 4.863 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.01991, allocations: 12.03 kB / 285.2 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/0.0202, allocations: 164.3 kB / 285.3 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009208/0.02112, allocations: 0.5052 MB / 285.8 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/0.02144, allocations: 289.2 kB / 286.1 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.02157, allocations: 84.31 kB / 286.2 MB, free: 3.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.02367, allocations: 1.682 MB / 287.9 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.0237, allocations: 4.188 kB / 287.9 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-05/0.02378, allocations: 32.12 kB / 287.9 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.0238, allocations: 16 kB / 287.9 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.02507, allocations: 0.5322 MB / 288.5 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1074/0.1325, allocations: 1.778 MB / 290.2 MB, free: 27.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.1341, allocations: 0.6932 MB / 290.9 MB, free: 27.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/0.1347, allocations: 330 kB / 291.3 MB, free: 27.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.596e-05/0.1348, allocations: 16.25 kB / 291.3 MB, free: 27.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1348, allocations: 50.05 kB / 291.3 MB, free: 27.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.685e-06/0.1348, allocations: 0 / 291.3 MB, free: 27.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.004309/0.1391, allocations: 1.372 MB / 292.7 MB, free: 27.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.1393, allocations: 0.8246 MB / 293.5 MB, free: 26.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000739/0.14, allocations: 0.7315 MB / 294.2 MB, free: 25.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-05/0.1401, allocations: 45.2 kB / 294.3 MB, free: 25.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.1403, allocations: 432.4 kB / 294.7 MB, free: 25.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.1404, allocations: 277.5 kB / 295 MB, free: 25.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.1407, allocations: 161.3 kB / 295.1 MB, free: 25.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1408, allocations: 0.598 MB / 295.7 MB, free: 24.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/0.1413, allocations: 315.5 kB / 296 MB, free: 24.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000799/0.1421, allocations: 1.46 MB / 297.5 MB, free: 23.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.1432, allocations: 0.6701 MB / 298.2 MB, free: 22.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1432, allocations: 0 / 298.2 MB, free: 22.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002146/0.1453, allocations: 1.129 MB / 299.3 MB, free: 22.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.1454, allocations: 88.12 kB / 299.4 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1454, allocations: 1.797 kB / 299.4 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009055/0.1463, allocations: 267.6 kB / 299.7 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.1468, allocations: 126.7 kB / 299.8 MB, free: 21.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/0.153, allocations: 8.523 MB / 308.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007303/0.1537, allocations: 84.39 kB / 308.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.1538, allocations: 25.23 kB / 308.4 MB, free: 14.08 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.0002896/0.1541, allocations: 261 kB / 308.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.1542, allocations: 108.2 kB / 308.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.1544, allocations: 83.88 kB / 308.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1544, allocations: 10.62 kB / 308.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1544, allocations: 1.406 kB / 308.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001872/0.1563, allocations: 1.149 MB / 310 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/0.1594, allocations: 1.758 MB / 311.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1594, allocations: 3.5 kB / 311.8 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.16, allocations: 137.2 kB / 311.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006556/0.1606, allocations: 213.6 kB / 312.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.1607, allocations: 22.2 kB / 312.1 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004472/0.1651, allocations: 6.507 MB / 318.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1651, allocations: 4 kB / 318.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.1674, allocations: 1.354 MB / 320 MB, free: 4.535 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.1677, allocations: 155.7 kB / 320.2 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.994e-05/0.1678, allocations: 20 kB / 320.2 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005737/0.1684, allocations: 39.91 kB / 320.2 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.1685, allocations: 60.55 kB / 320.3 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.1685, allocations: 16 kB / 320.3 MB, free: 4.258 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004034/0.1689, allocations: 486.7 kB / 320.8 MB, free: 3.785 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1689, allocations: 7.609 kB / 320.8 MB, free: 3.781 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008122/0.1698, allocations: 287.5 kB / 321.1 MB, free: 3.508 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.0001267/0.1699, allocations: 123.1 kB / 321.2 MB, free: 3.379 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.1714, allocations: 1.597 MB / 322.8 MB, free: 1.656 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1714, allocations: 4 kB / 322.8 MB, free: 1.652 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007299/0.1721, allocations: 0.8645 MB / 323.6 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008439/0.173, allocations: 240.3 kB / 323.9 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.1755, allocations: 1.51 MB / 325.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.1759, allocations: 341.3 kB / 325.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003616/0.1763, allocations: 94.02 kB / 325.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.1765, allocations: 68.48 kB / 325.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1765, allocations: 0 / 325.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of Templates: time 0.03304/0.2095, allocations: 18.52 MB / 344.4 MB, free: 12.32 MB / 298.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.3602361750090495]