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.001137/0.001137, allocations: 83.89 kB / 21.19 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.001139/0.001139, allocations: 141.1 kB / 24.54 MB, free: 36 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.9504/0.9504, allocations: 173.3 MB / 201.1 MB, free: 9.344 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.893e-06/1.893e-06, allocations: 0 / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.527e-05, allocations: 6.25 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004283/0.004309, allocations: 4.937 MB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.005753, allocations: 1.273 MB / 274.2 MB, free: 204 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.005964, allocations: 11.94 kB / 274.2 MB, free: 192 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.00663, allocations: 162.6 kB / 274.4 MB, free: 28 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004391/0.007069, allocations: 349 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.007359, allocations: 227.5 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007869/0.008146, allocations: 1.203 MB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.008426, allocations: 226.5 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004516/0.008878, allocations: 0.6666 MB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.009242, allocations: 378.9 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.009347, allocations: 100 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.009461, allocations: 104 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.009584, allocations: 227.2 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002666/0.009851, allocations: 379.2 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006202/0.01047, allocations: 0.7863 MB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01047, allocations: 0 / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01047, allocations: 4 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.01048, allocations: 3.938 kB / 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.00147/0.01195, allocations: 1.361 MB / 280.3 MB, free: 9.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.012, allocations: 8.031 kB / 280.3 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.01217, allocations: 164.3 kB / 280.5 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/0.0127, allocations: 485.4 kB / 281 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.01286, allocations: 297.2 kB / 281.3 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/0.01296, allocations: 72.38 kB / 281.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.01416, allocations: 1.519 MB / 282.9 MB, free: 7.039 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.01418, allocations: 8.188 kB / 282.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/0.01424, allocations: 28.12 kB / 282.9 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.01425, allocations: 16 kB / 282.9 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/0.01477, allocations: 311.6 kB / 283.2 MB, free: 6.684 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.01687, allocations: 1.514 MB / 284.7 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007864/0.01766, allocations: 456.1 kB / 285.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.01799, allocations: 221.3 kB / 285.4 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.829e-05/0.01805, allocations: 12.66 kB / 285.4 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.01809, allocations: 50.05 kB / 285.5 MB, free: 4.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.014e-06/0.01809, allocations: 0.5469 kB / 285.5 MB, free: 4.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.002052/0.02014, allocations: 1.042 MB / 286.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002353/0.02038, allocations: 0.8273 MB / 287.3 MB, free: 2.297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.02084, allocations: 0.5845 MB / 287.9 MB, free: 1.695 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.02089, allocations: 45.7 kB / 288 MB, free: 1.645 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/0.02143, allocations: 399.9 kB / 288.3 MB, free: 1.246 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.02158, allocations: 265.7 kB / 288.6 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.02173, allocations: 148.3 kB / 288.7 MB, free: 0.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.0219, allocations: 0.5625 MB / 289.3 MB, free: 264 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.02214, allocations: 207 kB / 289.5 MB, free: 36 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/0.02275, allocations: 1.298 MB / 290.8 MB, free: 14.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/0.02322, allocations: 434.7 kB / 291.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02322, allocations: 4 kB / 291.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00105/0.02427, allocations: 0.8689 MB / 292.1 MB, free: 13 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.02433, allocations: 89.05 kB / 292.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.02433, allocations: 0 / 292.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004617/0.0248, allocations: 198.5 kB / 292.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.02509, allocations: 123.8 kB / 292.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004502/0.02959, allocations: 7.825 MB / 300.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.02991, allocations: 75.59 kB / 300.4 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.02994, allocations: 24 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.0001767/0.03012, allocations: 208.5 kB / 300.6 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.03023, allocations: 107.5 kB / 300.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.777e-05/0.0303, allocations: 90.73 kB / 300.8 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.03031, allocations: 8 kB / 300.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.03031, allocations: 0 / 300.8 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009209/0.03123, allocations: 0.9329 MB / 301.8 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.03315, allocations: 1.388 MB / 303.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.03316, allocations: 0 / 303.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.03346, allocations: 123.9 kB / 303.3 MB, free: 1.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/0.03379, allocations: 166.9 kB / 303.4 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.03382, allocations: 12 kB / 303.5 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1544/0.1882, allocations: 5.912 MB / 309.4 MB, free: 34.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1882, allocations: 0 / 309.4 MB, free: 34.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.1897, allocations: 0.9558 MB / 310.3 MB, free: 34.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.19, allocations: 158.6 kB / 310.5 MB, free: 34.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-05/0.1901, allocations: 18.91 kB / 310.5 MB, free: 34.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.1904, allocations: 35.42 kB / 310.5 MB, free: 34.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.1905, allocations: 65.28 kB / 310.6 MB, free: 34.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.1906, allocations: 18.91 kB / 310.6 MB, free: 34.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003787/0.191, allocations: 389.2 kB / 311 MB, free: 34.44 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.191, allocations: 0 / 311 MB, free: 34.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007475/0.1917, allocations: 283.9 kB / 311.3 MB, free: 34.43 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.0001568/0.1919, allocations: 133.1 kB / 311.4 MB, free: 34.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.1932, allocations: 1.372 MB / 312.8 MB, free: 33.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.1932, allocations: 6.062 kB / 312.8 MB, free: 33.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.1937, allocations: 0.7448 MB / 313.5 MB, free: 32.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.1943, allocations: 232.4 kB / 313.7 MB, free: 32.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.1967, allocations: 1.443 MB / 315.2 MB, free: 32.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.1969, allocations: 162.1 kB / 315.3 MB, free: 32.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003193/0.1972, allocations: 97.53 kB / 315.4 MB, free: 32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.1973, allocations: 63.91 kB / 315.5 MB, free: 31.99 MB / 282.7 MB Notification: Performance of SimCode: time 1.203e-06/0.1973, allocations: 0 / 315.5 MB, free: 31.99 MB / 282.7 MB Notification: Performance of Templates: time 0.02054/0.2179, allocations: 18.52 MB / 334 MB, free: 20.82 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.491297801025212]