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.001866/0.001866, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.00179/0.00179, allocations: 153.5 kB / 24.27 MB, free: 168 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.54/1.54, allocations: 173.4 MB / 200.8 MB, free: 9.312 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.413e-06/1.413e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.072e-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.007429/0.007459, allocations: 4.898 MB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.01026, allocations: 1.269 MB / 273.5 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.01063, allocations: 11.94 kB / 273.5 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004895/0.01112, allocations: 162.5 kB / 273.6 MB, free: 376 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000722/0.01184, allocations: 349 kB / 274 MB, free: 24 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.01233, allocations: 231.5 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.01376, allocations: 1.203 MB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004233/0.01418, allocations: 226.5 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008691/0.01505, allocations: 0.6666 MB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008923/0.01594, allocations: 379 kB / 276.7 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.01612, allocations: 104 kB / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.01632, allocations: 108 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.01656, allocations: 223.2 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005066/0.01707, allocations: 383.2 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.0186, allocations: 1.234 MB / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.0186, allocations: 0 / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.0186, allocations: 0 / 278.7 MB, free: 11.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.01862, allocations: 0 / 278.7 MB, free: 11.28 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.002737/0.02135, allocations: 1.411 MB / 280.1 MB, free: 9.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.0214, allocations: 12.03 kB / 280.1 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.02169, allocations: 156.3 kB / 280.3 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009488/0.02264, allocations: 0.5052 MB / 280.8 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003403/0.02298, allocations: 301.2 kB / 281.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.02311, allocations: 76.33 kB / 281.2 MB, free: 8.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.02526, allocations: 1.69 MB / 282.8 MB, free: 6.676 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.02528, allocations: 192 / 282.8 MB, free: 6.676 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.02536, allocations: 32.12 kB / 282.9 MB, free: 6.645 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.02537, allocations: 12 kB / 282.9 MB, free: 6.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.02675, allocations: 0.5321 MB / 283.4 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003764/0.03051, allocations: 1.792 MB / 285.2 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.03231, allocations: 0.6991 MB / 285.9 MB, free: 3.559 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007417/0.03305, allocations: 329.5 kB / 286.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.979e-05/0.03312, allocations: 16.64 kB / 286.3 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.825e-05/0.03318, allocations: 53.98 kB / 286.3 MB, free: 3.152 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 3.496e-06/0.03318, allocations: 4 kB / 286.3 MB, free: 3.148 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.004728/0.03791, allocations: 1.363 MB / 287.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005635/0.03847, allocations: 0.8234 MB / 288.5 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1133/0.1518, allocations: 0.7303 MB / 289.2 MB, free: 32.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002057/0.152, allocations: 42.2 kB / 289.3 MB, free: 32.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.1523, allocations: 423.2 kB / 289.7 MB, free: 32.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.1526, allocations: 278.9 kB / 290 MB, free: 32.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.1528, allocations: 165.1 kB / 290.1 MB, free: 32.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.153, allocations: 0.595 MB / 290.7 MB, free: 31.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/0.1535, allocations: 319.1 kB / 291 MB, free: 31.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/0.1543, allocations: 1.457 MB / 292.5 MB, free: 30.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.1554, allocations: 0.6741 MB / 293.2 MB, free: 29.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1554, allocations: 1.094 kB / 293.2 MB, free: 29.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002372/0.1578, allocations: 1.133 MB / 294.3 MB, free: 29.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.1578, allocations: 86.92 kB / 294.4 MB, free: 29.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1578, allocations: 0 / 294.4 MB, free: 29.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009247/0.1588, allocations: 263.7 kB / 294.6 MB, free: 29.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005757/0.1593, allocations: 126.1 kB / 294.8 MB, free: 29.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006528/0.1659, allocations: 8.535 MB / 303.3 MB, free: 21.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008426/0.1667, allocations: 84.38 kB / 303.4 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.1668, allocations: 23.64 kB / 303.4 MB, free: 21.24 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.0003012/0.1671, allocations: 260.6 kB / 303.6 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.1672, allocations: 106.2 kB / 303.8 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.1674, allocations: 87.88 kB / 303.8 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.1674, allocations: 7.406 kB / 303.8 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1674, allocations: 3.938 kB / 303.8 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001922/0.1693, allocations: 1.15 MB / 305 MB, free: 20.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.1726, allocations: 1.759 MB / 306.8 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.1726, allocations: 4.781 kB / 306.8 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.1732, allocations: 123.6 kB / 306.9 MB, free: 19.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007567/0.174, allocations: 219.8 kB / 307.1 MB, free: 19.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.174, allocations: 13.44 kB / 307.1 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00499/0.179, allocations: 6.516 MB / 313.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.179, allocations: 5.094 kB / 313.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.1817, allocations: 1.345 MB / 315 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000337/0.182, allocations: 158.3 kB / 315.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.1821, allocations: 24.62 kB / 315.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006036/0.1827, allocations: 37.69 kB / 315.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.1829, allocations: 61.31 kB / 315.3 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.1829, allocations: 20.28 kB / 315.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000454/0.1834, allocations: 486.9 kB / 315.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1834, allocations: 1.375 kB / 315.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008264/0.1842, allocations: 287.2 kB / 316 MB, free: 12.19 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.0001358/0.1843, allocations: 128 kB / 316.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.186, allocations: 1.595 MB / 317.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.186, allocations: 8.125 kB / 317.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007586/0.1867, allocations: 0.8613 MB / 318.6 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008609/0.1876, allocations: 231.1 kB / 318.8 MB, free: 9.734 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.1897, allocations: 1.511 MB / 320.4 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.1899, allocations: 343.8 kB / 320.7 MB, free: 7.938 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003323/0.1902, allocations: 94.02 kB / 320.8 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.1904, allocations: 68.48 kB / 320.8 MB, free: 7.773 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1904, allocations: 0 / 320.8 MB, free: 7.773 MB / 266.7 MB Notification: Performance of Templates: time 0.02893/0.2193, allocations: 18.52 MB / 339.4 MB, free: 5.645 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","/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.260377667029388]