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.002017/0.002017, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.001952/0.001952, allocations: 156.8 kB / 24.27 MB, free: 156 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.557/1.557, allocations: 177 MB / 204.4 MB, free: 5.594 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.452e-06/1.452e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.368e-05, allocations: 6.312 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.01052/0.01054, allocations: 4.901 MB / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.01384, allocations: 1.304 MB / 278.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003856/0.01422, allocations: 15.88 kB / 278.4 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.01481, allocations: 162.6 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.01583, allocations: 337 kB / 278.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.01651, allocations: 239.5 kB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.01856, allocations: 1.203 MB / 280.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005796/0.01914, allocations: 222.5 kB / 280.6 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.0204, allocations: 0.6704 MB / 281.2 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.02155, allocations: 375 kB / 281.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.0218, allocations: 100 kB / 281.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.0221, allocations: 104 kB / 281.8 MB, free: 8.121 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.02244, allocations: 227.2 kB / 282 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007012/0.02314, allocations: 375.2 kB / 282.4 MB, free: 7.531 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.02533, allocations: 1.238 MB / 283.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.02533, allocations: 4 kB / 283.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02533, allocations: 0 / 283.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.02535, allocations: 0 / 283.6 MB, free: 6.285 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.003945/0.02929, allocations: 1.411 MB / 285 MB, free: 4.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.02934, allocations: 11.98 kB / 285 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/0.02976, allocations: 160.3 kB / 285.2 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.03114, allocations: 0.509 MB / 285.7 MB, free: 4.113 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000477/0.03162, allocations: 301.2 kB / 286 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/0.03181, allocations: 72.38 kB / 286.1 MB, free: 3.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00281/0.03462, allocations: 1.686 MB / 287.8 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.03464, allocations: 192 / 287.8 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.218e-05/0.03473, allocations: 32.12 kB / 287.8 MB, free: 1.652 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.03475, allocations: 20 kB / 287.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.036, allocations: 0.5244 MB / 288.3 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003702/0.0397, allocations: 1.796 MB / 290.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.04152, allocations: 0.6878 MB / 290.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007066/0.04223, allocations: 332.8 kB / 291.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.65e-05/0.0423, allocations: 16.66 kB / 291.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/0.04236, allocations: 58.03 kB / 291.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 1.853e-06/0.04236, allocations: 0 / 291.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.004586/0.04694, allocations: 1.366 MB / 292.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005603/0.0475, allocations: 0.8234 MB / 293.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.04865, allocations: 0.7291 MB / 294.1 MB, free: 11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.076e-05/0.04872, allocations: 45.7 kB / 294.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/0.04913, allocations: 431.9 kB / 294.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.0494, allocations: 273.8 kB / 294.9 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/0.04969, allocations: 164.3 kB / 295 MB, free: 10.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003939/0.05009, allocations: 0.5977 MB / 295.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.0507, allocations: 315 kB / 295.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.05225, allocations: 1.458 MB / 297.4 MB, free: 7.344 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.05351, allocations: 0.676 MB / 298.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.05352, allocations: 0 / 298.1 MB, free: 6.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002592/0.05611, allocations: 1.13 MB / 299.2 MB, free: 5.453 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.231e-05/0.05619, allocations: 89.05 kB / 299.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.0562, allocations: 0 / 299.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009912/0.05719, allocations: 258.6 kB / 299.5 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/0.05778, allocations: 127.8 kB / 299.7 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1129/0.1707, allocations: 8.518 MB / 308.2 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008664/0.1716, allocations: 80.48 kB / 308.3 MB, free: 38.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.1716, allocations: 27.42 kB / 308.3 MB, free: 38.04 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.0002881/0.1719, allocations: 260.5 kB / 308.5 MB, free: 37.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.1721, allocations: 110.1 kB / 308.7 MB, free: 37.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.1722, allocations: 87.72 kB / 308.7 MB, free: 37.86 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.1722, allocations: 8.75 kB / 308.7 MB, free: 37.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1722, allocations: 0 / 308.7 MB, free: 37.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001878/0.1741, allocations: 1.155 MB / 309.9 MB, free: 37.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/0.1773, allocations: 1.752 MB / 311.7 MB, free: 36.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1773, allocations: 1.156 kB / 311.7 MB, free: 36.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.1779, allocations: 127 kB / 311.8 MB, free: 36.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007216/0.1786, allocations: 223.5 kB / 312 MB, free: 36.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.1787, allocations: 21.3 kB / 312 MB, free: 36.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004849/0.1835, allocations: 6.506 MB / 318.5 MB, free: 30.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1835, allocations: 1.438 kB / 318.5 MB, free: 30.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.1862, allocations: 1.359 MB / 319.9 MB, free: 30.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.1865, allocations: 160.2 kB / 320 MB, free: 30.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.1866, allocations: 15.69 kB / 320.1 MB, free: 30.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006105/0.1872, allocations: 39.64 kB / 320.1 MB, free: 30 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.1874, allocations: 62.89 kB / 320.2 MB, free: 29.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.1874, allocations: 18.98 kB / 320.2 MB, free: 29.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005301/0.188, allocations: 490.3 kB / 320.7 MB, free: 29.74 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.188, allocations: 0 / 320.7 MB, free: 29.74 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008357/0.1888, allocations: 283.2 kB / 320.9 MB, free: 29.7 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.0001438/0.1889, allocations: 123.8 kB / 321.1 MB, free: 29.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.1907, allocations: 1.593 MB / 322.6 MB, free: 28.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.1907, allocations: 3.5 kB / 322.6 MB, free: 28.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008331/0.1915, allocations: 0.8664 MB / 323.5 MB, free: 27.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009049/0.1924, allocations: 241 kB / 323.7 MB, free: 27.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.1947, allocations: 1.507 MB / 325.3 MB, free: 26.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.195, allocations: 341.4 kB / 325.6 MB, free: 26.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003567/0.1954, allocations: 98.34 kB / 325.7 MB, free: 26.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.1955, allocations: 61.52 kB / 325.7 MB, free: 26.7 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1955, allocations: 0 / 325.7 MB, free: 26.7 MB / 282.7 MB Notification: Performance of Templates: time 0.02283/0.2184, allocations: 18.53 MB / 344.3 MB, free: 10.65 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] 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.299401159049012]