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.001792/0.001792, allocations: 92.31 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.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.002239/0.002239, allocations: 161.7 kB / 24.27 MB, free: 176 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.563/1.563, allocations: 177.1 MB / 204.6 MB, free: 5.609 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 2.154e-06/2.154e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.367e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.007114/0.007148, allocations: 4.432 MB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.00998, allocations: 1.277 MB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.0103, allocations: 11.94 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.01078, allocations: 162.5 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007474/0.01153, allocations: 349 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.01211, allocations: 227.6 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.01376, allocations: 1.203 MB / 280 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004212/0.01418, allocations: 218.5 kB / 280.2 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009056/0.01509, allocations: 0.6666 MB / 280.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006051/0.01569, allocations: 375 kB / 281.2 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.01587, allocations: 103.9 kB / 281.3 MB, free: 8.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.01606, allocations: 104 kB / 281.4 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.01644, allocations: 227.2 kB / 281.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004987/0.01694, allocations: 379.2 kB / 282 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001762/0.0187, allocations: 1.234 MB / 283.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.01871, allocations: 0 / 283.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01871, allocations: 0 / 283.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.01873, allocations: 0 / 283.2 MB, free: 6.859 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.002689/0.02141, allocations: 1.261 MB / 284.5 MB, free: 5.547 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.02146, allocations: 8.031 kB / 284.5 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00033/0.02179, allocations: 164.3 kB / 284.7 MB, free: 5.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.02284, allocations: 0.4946 MB / 285.2 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003737/0.02321, allocations: 301.1 kB / 285.4 MB, free: 4.504 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.02336, allocations: 72.38 kB / 285.5 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.02561, allocations: 1.612 MB / 287.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.02563, allocations: 192 / 287.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.568e-05/0.02572, allocations: 32.12 kB / 287.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.02574, allocations: 16 kB / 287.2 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.0271, allocations: 0.5478 MB / 287.7 MB, free: 1.941 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.003512/0.03061, allocations: 1.562 MB / 289.3 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.09731/0.1279, allocations: 0.6886 MB / 290 MB, free: 28.63 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/0.1286, allocations: 331.4 kB / 290.3 MB, free: 28.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.83e-05/0.1287, allocations: 17.81 kB / 290.3 MB, free: 28.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.1287, allocations: 51.5 kB / 290.4 MB, free: 28.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 3.075e-06/0.1287, allocations: 1.688 kB / 290.4 MB, free: 28.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.004722/0.1335, allocations: 1.446 MB / 291.8 MB, free: 28.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.1336, allocations: 0.8265 MB / 292.6 MB, free: 27.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007158/0.1343, allocations: 0.5636 MB / 293.2 MB, free: 27.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.1344, allocations: 45.61 kB / 293.3 MB, free: 27.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.1346, allocations: 343 kB / 293.6 MB, free: 26.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.1348, allocations: 266.9 kB / 293.8 MB, free: 26.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.135, allocations: 148.6 kB / 294 MB, free: 26.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1351, allocations: 378.6 kB / 294.4 MB, free: 26.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/0.1356, allocations: 333.5 kB / 294.7 MB, free: 26.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/0.1365, allocations: 1.358 MB / 296 MB, free: 24.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.1375, allocations: 0.637 MB / 296.7 MB, free: 24.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1375, allocations: 3.938 kB / 296.7 MB, free: 24.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0024/0.1399, allocations: 1.146 MB / 297.8 MB, free: 23.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.1399, allocations: 89.58 kB / 297.9 MB, free: 23.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1399, allocations: 1.094 kB / 297.9 MB, free: 23.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.141, allocations: 272.4 kB / 298.2 MB, free: 23.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005854/0.1416, allocations: 127.8 kB / 298.3 MB, free: 23.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006329/0.1479, allocations: 6.389 MB / 304.7 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007922/0.1487, allocations: 96.56 kB / 304.8 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.1487, allocations: 23.36 kB / 304.8 MB, free: 17.84 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.0002918/0.149, allocations: 218.1 kB / 305 MB, free: 17.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.1492, allocations: 107.7 kB / 305.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.1494, allocations: 84.38 kB / 305.2 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1494, allocations: 7.125 kB / 305.2 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.1494, allocations: 2.938 kB / 305.2 MB, free: 17.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002026/0.1514, allocations: 1.184 MB / 306.4 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/0.1546, allocations: 1.614 MB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1546, allocations: 5.438 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005954/0.1552, allocations: 124.4 kB / 308.2 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008134/0.156, allocations: 239.2 kB / 308.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.156, allocations: 12 kB / 308.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/0.1606, allocations: 4.909 MB / 313.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1606, allocations: 1.5 kB / 313.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00253/0.1632, allocations: 1.328 MB / 314.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.1634, allocations: 163.3 kB / 314.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.1635, allocations: 19.98 kB / 314.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.1641, allocations: 35.97 kB / 314.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.1643, allocations: 64.48 kB / 314.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.1643, allocations: 23.98 kB / 314.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003583/0.1647, allocations: 406.8 kB / 315.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1647, allocations: 3.828 kB / 315.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007735/0.1654, allocations: 287.7 kB / 315.6 MB, free: 9.645 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.000125/0.1656, allocations: 127.1 kB / 315.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.1671, allocations: 1.338 MB / 317.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1671, allocations: 4 kB / 317.1 MB, free: 8.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007365/0.1678, allocations: 0.6753 MB / 317.8 MB, free: 7.359 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008668/0.1687, allocations: 238.1 kB / 318 MB, free: 7.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.1708, allocations: 1.495 MB / 319.5 MB, free: 5.621 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.171, allocations: 341.3 kB / 319.8 MB, free: 5.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003332/0.1713, allocations: 94.02 kB / 319.9 MB, free: 5.164 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.1715, allocations: 72.48 kB / 320 MB, free: 5.094 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1715, allocations: 0 / 320 MB, free: 5.094 MB / 266.7 MB Notification: Performance of Templates: time 0.02886/0.2003, allocations: 18.27 MB / 338.3 MB, free: 3.215 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] 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.342082504997961]