Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001956/0.001956, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002372/0.002372, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.582e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006363/0.006388, allocations: 4.435 MB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.008924, allocations: 1.273 MB / 277.9 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.009177, allocations: 15.88 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.009593, allocations: 158.6 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006675/0.01026, allocations: 349 kB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.0107, allocations: 227.5 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.01218, allocations: 1.211 MB / 279.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000385/0.01256, allocations: 218.5 kB / 280.1 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007835/0.01334, allocations: 0.6705 MB / 280.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.01391, allocations: 379 kB / 281.1 MB, free: 8.844 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.01406, allocations: 100 kB / 281.2 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.01426, allocations: 104 kB / 281.3 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.01447, allocations: 215.2 kB / 281.5 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004552/0.01492, allocations: 387.2 kB / 281.9 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.0165, allocations: 1.231 MB / 283.1 MB, free: 6.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.0165, allocations: 0 / 283.1 MB, free: 6.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.0165, allocations: 0 / 283.1 MB, free: 6.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.01652, allocations: 7.984 kB / 283.1 MB, free: 6.812 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.002528/0.01904, allocations: 1.253 MB / 284.4 MB, free: 5.508 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.01908, allocations: 11.98 kB / 284.4 MB, free: 5.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002943/0.01937, allocations: 164.3 kB / 284.5 MB, free: 5.336 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009615/0.02034, allocations: 0.5024 MB / 285.1 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000345/0.02068, allocations: 297.2 kB / 285.3 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.02082, allocations: 72.38 kB / 285.4 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.02291, allocations: 1.597 MB / 287 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.02293, allocations: 192 / 287 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/0.02301, allocations: 32.12 kB / 287 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.02303, allocations: 20 kB / 287.1 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.02444, allocations: 0.5517 MB / 287.6 MB, free: 1.906 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.02784, allocations: 1.569 MB / 289.2 MB, free: 312 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.02986, allocations: 0.6987 MB / 289.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007323/0.0306, allocations: 333.9 kB / 290.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.978e-05/0.03066, allocations: 16.66 kB / 290.2 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.0307, allocations: 43.22 kB / 290.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 1.873e-06/0.0307, allocations: 0 / 290.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.005164/0.03586, allocations: 1.457 MB / 291.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006728/0.03653, allocations: 0.8195 MB / 292.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.0377, allocations: 0.5695 MB / 293.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.03782, allocations: 45.7 kB / 293.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/0.0383, allocations: 341.2 kB / 293.5 MB, free: 11.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/0.03868, allocations: 261.7 kB / 293.7 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004301/0.03911, allocations: 150.6 kB / 293.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003309/0.03944, allocations: 378.8 kB / 294.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.04046, allocations: 327 kB / 294.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/0.04264, allocations: 1.363 MB / 295.9 MB, free: 8.938 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.04423, allocations: 0.631 MB / 296.6 MB, free: 8.281 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.04424, allocations: 4 kB / 296.6 MB, free: 8.277 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003877/0.04812, allocations: 1.152 MB / 297.7 MB, free: 7.074 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.63e-05/0.0482, allocations: 89.03 kB / 297.8 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.04821, allocations: 0 / 297.8 MB, free: 6.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.04935, allocations: 271.2 kB / 298.1 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/0.04997, allocations: 135.8 kB / 298.2 MB, free: 6.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1146/0.1645, allocations: 6.385 MB / 304.6 MB, free: 41.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009086/0.1654, allocations: 88.75 kB / 304.7 MB, free: 41.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.1655, allocations: 22.16 kB / 304.7 MB, free: 41.11 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.0003846/0.1659, allocations: 217.3 kB / 304.9 MB, free: 40.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/0.1662, allocations: 115.4 kB / 305 MB, free: 40.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.1663, allocations: 83.75 kB / 305.1 MB, free: 40.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1663, allocations: 11.91 kB / 305.1 MB, free: 40.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1664, allocations: 1.469 kB / 305.1 MB, free: 40.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002195/0.1685, allocations: 1.174 MB / 306.3 MB, free: 40.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/0.1721, allocations: 1.618 MB / 307.9 MB, free: 40.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1721, allocations: 4.812 kB / 307.9 MB, free: 40.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/0.1727, allocations: 125.3 kB / 308 MB, free: 40.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008874/0.1736, allocations: 231.3 kB / 308.3 MB, free: 40.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.595e-05/0.1737, allocations: 19.36 kB / 308.3 MB, free: 40.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005248/0.1789, allocations: 4.909 MB / 313.2 MB, free: 35.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1789, allocations: 2.281 kB / 313.2 MB, free: 35.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/0.1819, allocations: 1.327 MB / 314.5 MB, free: 35.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.1823, allocations: 166.9 kB / 314.7 MB, free: 35.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.1824, allocations: 20.41 kB / 314.7 MB, free: 35.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006345/0.183, allocations: 43.45 kB / 314.8 MB, free: 35.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.1832, allocations: 59.48 kB / 314.8 MB, free: 35.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/0.1833, allocations: 19.52 kB / 314.8 MB, free: 35.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005074/0.1838, allocations: 407 kB / 315.2 MB, free: 34.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1838, allocations: 0 / 315.2 MB, free: 34.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008864/0.1846, allocations: 283.8 kB / 315.5 MB, free: 34.95 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.000137/0.1848, allocations: 125.6 kB / 315.6 MB, free: 34.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.1865, allocations: 1.342 MB / 317 MB, free: 33.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1865, allocations: 3.125 kB / 317 MB, free: 33.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007992/0.1873, allocations: 0.6716 MB / 317.6 MB, free: 33.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000929/0.1882, allocations: 239.8 kB / 317.9 MB, free: 33.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.1905, allocations: 1.509 MB / 319.4 MB, free: 32.51 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1909, allocations: 341.3 kB / 319.7 MB, free: 32.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003675/0.1912, allocations: 99.52 kB / 319.8 MB, free: 32.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.1914, allocations: 65.05 kB / 319.9 MB, free: 32.38 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1914, allocations: 0 / 319.9 MB, free: 32.38 MB / 282.7 MB Notification: Performance of Templates: time 0.02112/0.2125, allocations: 18.24 MB / 338.1 MB, free: 17.25 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.131926930975169]