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.001402/0.001402, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.001438/0.001438, allocations: 149.4 kB / 24.25 MB, free: 188 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 1.45/1.45, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.233e-06/1.233e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.171e-05, allocations: 2.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006304/0.006326, allocations: 4.418 MB / 271.7 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.008847, allocations: 1.257 MB / 273 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.009166, allocations: 11.94 kB / 273 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.009623, allocations: 154.6 kB / 273.2 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007324/0.01036, allocations: 348.9 kB / 273.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.01083, allocations: 235.5 kB / 273.7 MB, free: 300 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.01236, allocations: 1.206 MB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003984/0.01276, allocations: 222.5 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008109/0.01357, allocations: 0.6666 MB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005823/0.01415, allocations: 374.9 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.01431, allocations: 100 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.01449, allocations: 108 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.01471, allocations: 227.2 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004667/0.01518, allocations: 375.2 kB / 277 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.0166, allocations: 1.231 MB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.01661, allocations: 0 / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.01661, allocations: 3.938 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.01662, allocations: 0 / 278.2 MB, free: 11.78 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.002523/0.01914, allocations: 1.253 MB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.01918, allocations: 8.031 kB / 279.5 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/0.01947, allocations: 160.3 kB / 279.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009273/0.02039, allocations: 0.5024 MB / 280.1 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003311/0.02073, allocations: 297.2 kB / 280.4 MB, free: 9.438 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.02086, allocations: 80.33 kB / 280.5 MB, free: 9.359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.02299, allocations: 1.597 MB / 282.1 MB, free: 7.477 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.02301, allocations: 192 / 282.1 MB, free: 7.477 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.221e-05/0.02309, allocations: 32.12 kB / 282.1 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.02311, allocations: 16 kB / 282.1 MB, free: 7.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.02442, allocations: 0.5555 MB / 282.7 MB, free: 6.875 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.003399/0.02782, allocations: 1.565 MB / 284.3 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.02969, allocations: 0.6887 MB / 284.9 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007741/0.03046, allocations: 342.2 kB / 285.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-05/0.03052, allocations: 25.23 kB / 285.3 MB, free: 4.219 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.03057, allocations: 47.22 kB / 285.4 MB, free: 4.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.134e-06/0.03057, allocations: 0 / 285.4 MB, free: 4.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.005459/0.03603, allocations: 1.449 MB / 286.8 MB, free: 2.695 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005431/0.03657, allocations: 0.8234 MB / 287.6 MB, free: 1.676 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008054/0.03738, allocations: 0.5656 MB / 288.2 MB, free: 1.098 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.801e-05/0.03746, allocations: 49.64 kB / 288.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.03779, allocations: 345.2 kB / 288.6 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.03813, allocations: 265.7 kB / 288.8 MB, free: 452 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.0384, allocations: 150.6 kB / 289 MB, free: 296 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.09517/0.1336, allocations: 383.6 kB / 289.4 MB, free: 32.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007193/0.1343, allocations: 321 kB / 289.7 MB, free: 32.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008442/0.1351, allocations: 1.363 MB / 291 MB, free: 31.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.1362, allocations: 0.6323 MB / 291.7 MB, free: 30.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1362, allocations: 3.797 kB / 291.7 MB, free: 30.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002497/0.1387, allocations: 1.145 MB / 292.8 MB, free: 30.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.1387, allocations: 92.06 kB / 292.9 MB, free: 30.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1387, allocations: 1.062 kB / 292.9 MB, free: 30.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.1398, allocations: 262.8 kB / 293.2 MB, free: 30.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005986/0.1404, allocations: 127.5 kB / 293.3 MB, free: 30.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006536/0.147, allocations: 6.407 MB / 299.7 MB, free: 24.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000817/0.1478, allocations: 95.56 kB / 299.8 MB, free: 24.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.1478, allocations: 25.97 kB / 299.8 MB, free: 24.75 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.0002824/0.1481, allocations: 209.8 kB / 300 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.1483, allocations: 113.3 kB / 300.1 MB, free: 24.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.1484, allocations: 83.86 kB / 300.2 MB, free: 24.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1484, allocations: 7.312 kB / 300.2 MB, free: 24.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1484, allocations: 3.719 kB / 300.2 MB, free: 24.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002111/0.1506, allocations: 1.18 MB / 301.4 MB, free: 23.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.1539, allocations: 1.616 MB / 303 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.1539, allocations: 1.188 kB / 303 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.1545, allocations: 125.3 kB / 303.1 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008585/0.1553, allocations: 230.6 kB / 303.4 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.1554, allocations: 14.7 kB / 303.4 MB, free: 22.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004898/0.1603, allocations: 4.923 MB / 308.3 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1603, allocations: 5.562 kB / 308.3 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002751/0.163, allocations: 1.331 MB / 309.6 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.1633, allocations: 153.4 kB / 309.8 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.1634, allocations: 20.25 kB / 309.8 MB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000598/0.164, allocations: 47.86 kB / 309.9 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.1642, allocations: 58.62 kB / 309.9 MB, free: 17.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.1642, allocations: 28.27 kB / 309.9 MB, free: 17.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000404/0.1646, allocations: 409.1 kB / 310.3 MB, free: 17.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1646, allocations: 0 / 310.3 MB, free: 17.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008071/0.1654, allocations: 280.1 kB / 310.6 MB, free: 17.62 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.0001266/0.1655, allocations: 120.2 kB / 310.7 MB, free: 17.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.1671, allocations: 1.344 MB / 312.1 MB, free: 16.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1671, allocations: 3.062 kB / 312.1 MB, free: 16.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007637/0.1679, allocations: 0.6761 MB / 312.8 MB, free: 16.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008666/0.1687, allocations: 227.1 kB / 313 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.1708, allocations: 1.516 MB / 314.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.171, allocations: 341.3 kB / 314.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000318/0.1713, allocations: 94.02 kB / 314.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.1715, allocations: 64.5 kB / 315 MB, free: 13.97 MB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.1715, allocations: 0 / 315 MB, free: 13.97 MB / 266.7 MB Notification: Performance of Templates: time 0.02366/0.1952, allocations: 18.26 MB / 333.2 MB, free: 12.09 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.1312646040460095]