Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009333/0.0009333, allocations: 79.91 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009344/0.0009344, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9134/0.9134, allocations: 173.4 MB / 201.1 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.851e-05/1.996e-05, allocations: 5.969 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004618/0.004638, allocations: 4.945 MB / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.006515, allocations: 1.273 MB / 274.2 MB, free: 188 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.006802, allocations: 11.94 kB / 274.2 MB, free: 176 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.007134, allocations: 158.6 kB / 274.4 MB, free: 16 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004936/0.007628, allocations: 349 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.007981, allocations: 227.5 kB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009604/0.008941, allocations: 1.203 MB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002959/0.009237, allocations: 226.5 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006041/0.009841, allocations: 0.6744 MB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.01025, allocations: 371 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.01036, allocations: 104 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.01048, allocations: 100 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.0106, allocations: 227.2 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.01089, allocations: 391.1 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007522/0.01164, allocations: 0.7746 MB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01165, allocations: 0 / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01165, allocations: 0 / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.01167, allocations: 0 / 279 MB, free: 11.39 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.001516/0.01319, allocations: 1.361 MB / 280.3 MB, free: 9.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.01322, allocations: 8.031 kB / 280.3 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.01341, allocations: 164.3 kB / 280.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.01396, allocations: 472.1 kB / 281 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/0.01413, allocations: 297.2 kB / 281.2 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.996e-05/0.01421, allocations: 80.33 kB / 281.3 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.01522, allocations: 1.519 MB / 282.8 MB, free: 7.043 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.01524, allocations: 4.125 kB / 282.8 MB, free: 7.039 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.01529, allocations: 36.06 kB / 282.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.0153, allocations: 12 kB / 282.9 MB, free: 6.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.01577, allocations: 307.6 kB / 283.2 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.01771, allocations: 1.506 MB / 284.7 MB, free: 5.148 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000753/0.01846, allocations: 463.9 kB / 285.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.01876, allocations: 221.3 kB / 285.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.333e-05/0.01881, allocations: 16.66 kB / 285.4 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.01885, allocations: 47.69 kB / 285.4 MB, free: 4.387 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.375e-06/0.01885, allocations: 0 / 285.4 MB, free: 4.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.002024/0.02087, allocations: 1.046 MB / 286.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002351/0.02111, allocations: 0.8233 MB / 287.3 MB, free: 2.301 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.02156, allocations: 0.5807 MB / 287.9 MB, free: 1.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.0216, allocations: 45.7 kB / 287.9 MB, free: 1.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.02186, allocations: 399.9 kB / 288.3 MB, free: 1.254 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.02201, allocations: 269.7 kB / 288.6 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.02217, allocations: 148.3 kB / 288.7 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.02233, allocations: 0.5547 MB / 289.3 MB, free: 276 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.02257, allocations: 211 kB / 289.5 MB, free: 44 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/0.0232, allocations: 1.298 MB / 290.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.02368, allocations: 434.7 kB / 291.2 MB, free: 13.94 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.02368, allocations: 0 / 291.2 MB, free: 13.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001092/0.02478, allocations: 0.8766 MB / 292.1 MB, free: 13.01 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.02482, allocations: 104 kB / 292.2 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.02483, allocations: 0 / 292.2 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004327/0.02526, allocations: 190.6 kB / 292.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.02555, allocations: 123.8 kB / 292.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004522/0.03008, allocations: 7.81 MB / 300.3 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.0304, allocations: 83.61 kB / 300.4 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.03043, allocations: 28 kB / 300.4 MB, free: 4.156 MB / 282.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.0001708/0.0306, allocations: 204.5 kB / 300.6 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.0307, allocations: 107.5 kB / 300.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.405e-05/0.03079, allocations: 86.73 kB / 300.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.03079, allocations: 8 kB / 300.8 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.03079, allocations: 0 / 300.8 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009152/0.03171, allocations: 0.9329 MB / 301.7 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.03337, allocations: 1.396 MB / 303.1 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.03338, allocations: 0 / 303.1 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.03369, allocations: 123.9 kB / 303.3 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003255/0.03402, allocations: 167 kB / 303.4 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.03405, allocations: 12.19 kB / 303.4 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.107/0.141, allocations: 5.908 MB / 309.3 MB, free: 38.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.141, allocations: 5.484 kB / 309.4 MB, free: 38.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.1423, allocations: 0.9556 MB / 310.3 MB, free: 38.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.1425, allocations: 161.1 kB / 310.5 MB, free: 38.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.1426, allocations: 17.22 kB / 310.5 MB, free: 38.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.1428, allocations: 41.17 kB / 310.5 MB, free: 38.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.143, allocations: 60.56 kB / 310.6 MB, free: 38.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.143, allocations: 19.2 kB / 310.6 MB, free: 38.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002954/0.1433, allocations: 387.9 kB / 311 MB, free: 38.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1433, allocations: 0 / 311 MB, free: 38.15 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005877/0.1439, allocations: 291.2 kB / 311.3 MB, free: 38.14 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.0001093/0.144, allocations: 129.5 kB / 311.4 MB, free: 38.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000924/0.1449, allocations: 1.368 MB / 312.8 MB, free: 37.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1449, allocations: 6 kB / 312.8 MB, free: 37.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004073/0.1453, allocations: 0.7442 MB / 313.5 MB, free: 36.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.1459, allocations: 225.8 kB / 313.7 MB, free: 36.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.1477, allocations: 1.444 MB / 315.2 MB, free: 35.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.1479, allocations: 165.5 kB / 315.3 MB, free: 35.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002543/0.1481, allocations: 97.25 kB / 315.4 MB, free: 35.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.1482, allocations: 65.3 kB / 315.5 MB, free: 35.71 MB / 282.7 MB Notification: Performance of SimCode: time 6.12e-07/0.1482, allocations: 0 / 315.5 MB, free: 35.71 MB / 282.7 MB Notification: Performance of Templates: time 0.01733/0.1656, allocations: 19.44 MB / 334.9 MB, free: 22.83 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1955553111620247]