Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.001859/0.001859, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.002307/0.002307, allocations: 165.3 kB / 24.27 MB, free: 144 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.514/1.514, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.195e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007192/0.007224, allocations: 4.659 MB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.01021, allocations: 1.332 MB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003268/0.01054, allocations: 11.94 kB / 278.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000465/0.011, allocations: 174.4 kB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007405/0.01174, allocations: 356.9 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.01223, allocations: 255.4 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.01371, allocations: 1.269 MB / 280.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.01411, allocations: 230.7 kB / 280.6 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008931/0.015, allocations: 0.6978 MB / 281.3 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006036/0.01561, allocations: 398.8 kB / 281.7 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.01578, allocations: 108 kB / 281.8 MB, free: 8.328 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.01597, allocations: 108 kB / 281.9 MB, free: 8.223 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.01621, allocations: 239.2 kB / 282.1 MB, free: 7.988 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005118/0.01672, allocations: 403.1 kB / 282.5 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.01827, allocations: 1.305 MB / 283.8 MB, free: 6.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.01827, allocations: 7.938 kB / 283.8 MB, free: 6.277 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01827, allocations: 0 / 283.8 MB, free: 6.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.01829, allocations: 0 / 283.8 MB, free: 6.277 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002701/0.02099, allocations: 1.327 MB / 285.1 MB, free: 4.898 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.02103, allocations: 12.03 kB / 285.2 MB, free: 4.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003068/0.02133, allocations: 168.2 kB / 285.3 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.02246, allocations: 0.5422 MB / 285.9 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/0.02279, allocations: 301.2 kB / 286.2 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.02294, allocations: 80.31 kB / 286.2 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.02525, allocations: 1.647 MB / 287.9 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.02527, allocations: 4.172 kB / 287.9 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.464e-05/0.02536, allocations: 36.12 kB / 287.9 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.02538, allocations: 12 kB / 287.9 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.027, allocations: 0.618 MB / 288.6 MB, free: 1.117 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.1252/0.1522, allocations: 1.631 MB / 290.2 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.1538, allocations: 0.725 MB / 290.9 MB, free: 28.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008058/0.1546, allocations: 380.3 kB / 291.3 MB, free: 27.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.915e-05/0.1546, allocations: 19.7 kB / 291.3 MB, free: 27.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1547, allocations: 49.55 kB / 291.3 MB, free: 27.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 2.124e-06/0.1547, allocations: 1.094 kB / 291.3 MB, free: 27.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.004976/0.1596, allocations: 1.548 MB / 292.9 MB, free: 27.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.1598, allocations: 0.8231 MB / 293.7 MB, free: 26.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006641/0.1604, allocations: 0.6109 MB / 294.3 MB, free: 26.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/0.1605, allocations: 45.64 kB / 294.4 MB, free: 26.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.1607, allocations: 356.8 kB / 294.7 MB, free: 25.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.1609, allocations: 282.3 kB / 295 MB, free: 25.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.1611, allocations: 146.2 kB / 295.1 MB, free: 25.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.1612, allocations: 384.8 kB / 295.5 MB, free: 25.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006627/0.1618, allocations: 362.7 kB / 295.9 MB, free: 25.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009056/0.1627, allocations: 1.399 MB / 297.3 MB, free: 23.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.164, allocations: 0.7036 MB / 298 MB, free: 23.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.164, allocations: 0 / 298 MB, free: 23.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002604/0.1666, allocations: 1.227 MB / 299.2 MB, free: 22.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.1666, allocations: 85.31 kB / 299.3 MB, free: 22.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1666, allocations: 0.7969 kB / 299.3 MB, free: 22.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.1677, allocations: 276.8 kB / 299.6 MB, free: 22.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00069/0.1683, allocations: 142.6 kB / 299.7 MB, free: 22.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00638/0.1747, allocations: 6.408 MB / 306.1 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008699/0.1756, allocations: 95.72 kB / 306.2 MB, free: 16.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/0.1756, allocations: 22.66 kB / 306.2 MB, free: 16.87 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 (73): * Single equations (assignments): 66 * 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.0003145/0.176, allocations: 225.5 kB / 306.4 MB, free: 16.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.1761, allocations: 115.6 kB / 306.6 MB, free: 16.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.1763, allocations: 99.66 kB / 306.7 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1763, allocations: 12.12 kB / 306.7 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.1763, allocations: 0 / 306.7 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002333/0.1787, allocations: 1.256 MB / 307.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.1821, allocations: 1.717 MB / 309.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.1821, allocations: 4.516 kB / 309.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006588/0.1827, allocations: 149.2 kB / 309.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007758/0.1835, allocations: 225.5 kB / 310 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/0.1835, allocations: 19.83 kB / 310 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00506/0.1886, allocations: 4.953 MB / 315 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1886, allocations: 4 kB / 315 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/0.1915, allocations: 1.457 MB / 316.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.1919, allocations: 164.6 kB / 316.6 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.192, allocations: 20 kB / 316.6 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006374/0.1926, allocations: 55.44 kB / 316.7 MB, free: 8.309 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.1928, allocations: 76.47 kB / 316.7 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/0.1928, allocations: 23.42 kB / 316.8 MB, free: 8.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004601/0.1933, allocations: 439.1 kB / 317.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1933, allocations: 0 / 317.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008626/0.1941, allocations: 293.4 kB / 317.5 MB, free: 7.512 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (65): * Single equations (assignments): 62 * 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.000138/0.1943, allocations: 123.2 kB / 317.6 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.1962, allocations: 1.423 MB / 319 MB, free: 5.859 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1962, allocations: 4.125 kB / 319 MB, free: 5.855 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.1974, allocations: 0.7493 MB / 319.8 MB, free: 5.066 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000956/0.1983, allocations: 257.3 kB / 320 MB, free: 4.828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.2008, allocations: 1.548 MB / 321.6 MB, free: 3.277 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.201, allocations: 366.7 kB / 321.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004039/0.2014, allocations: 102.3 kB / 322 MB, free: 2.789 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.2016, allocations: 68.48 kB / 322.1 MB, free: 2.719 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2016, allocations: 3.938 kB / 322.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of Templates: time 0.03368/0.2353, allocations: 19.26 MB / 341.4 MB, free: 15.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.3100341990357265]