Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.001838/0.001838, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.001943/0.001943, allocations: 160.8 kB / 24.27 MB, free: 152 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.545/1.545, allocations: 177 MB / 204.5 MB, free: 5.613 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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.404e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.007367/0.007391, allocations: 5.144 MB / 277.3 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002873/0.01026, allocations: 1.355 MB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003028/0.01057, allocations: 15.94 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.01101, allocations: 170.4 kB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007129/0.01173, allocations: 356.8 kB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.01221, allocations: 247.5 kB / 279.5 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.01367, allocations: 1.269 MB / 280.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.01408, allocations: 238.7 kB / 281 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008843/0.01496, allocations: 0.7017 MB / 281.7 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005993/0.01556, allocations: 406.8 kB / 282.1 MB, free: 7.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.01575, allocations: 108 kB / 282.2 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.01597, allocations: 108 kB / 282.3 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.01621, allocations: 239.2 kB / 282.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005/0.01671, allocations: 407.1 kB / 282.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.01826, allocations: 1.312 MB / 284.2 MB, free: 5.715 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01826, allocations: 0 / 284.2 MB, free: 5.715 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01826, allocations: 0 / 284.2 MB, free: 5.715 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.01828, allocations: 0 / 284.2 MB, free: 5.715 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.002976/0.02125, allocations: 1.481 MB / 285.7 MB, free: 4.176 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.02129, allocations: 11.98 kB / 285.7 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.0216, allocations: 172.2 kB / 285.9 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.02263, allocations: 0.541 MB / 286.4 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003366/0.02297, allocations: 297.2 kB / 286.7 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.0231, allocations: 72.38 kB / 286.8 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.0253, allocations: 1.721 MB / 288.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.02532, allocations: 192 / 288.5 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.877e-05/0.0254, allocations: 32.12 kB / 288.5 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.02542, allocations: 20 kB / 288.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.02686, allocations: 0.5751 MB / 289.1 MB, free: 348 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.03072, allocations: 1.87 MB / 291 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.03237, allocations: 0.7057 MB / 291.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008281/0.0332, allocations: 378 kB / 292.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-05/0.03328, allocations: 16.66 kB / 292.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.03333, allocations: 50.05 kB / 292.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=77): time 2.505e-06/0.03333, allocations: 0 / 292.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=77): time 0.004993/0.03832, allocations: 1.437 MB / 293.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005958/0.03892, allocations: 0.8234 MB / 294.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.04001, allocations: 0.7808 MB / 295.2 MB, free: 9.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.969e-05/0.0401, allocations: 45.69 kB / 295.2 MB, free: 9.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.04051, allocations: 443.9 kB / 295.7 MB, free: 9.488 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/0.04082, allocations: 289.5 kB / 295.9 MB, free: 9.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/0.04112, allocations: 172.2 kB / 296.1 MB, free: 9.027 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003951/0.04152, allocations: 0.6093 MB / 296.7 MB, free: 8.406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007113/0.04223, allocations: 347 kB / 297.1 MB, free: 8.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.04386, allocations: 1.48 MB / 298.5 MB, free: 6.223 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.04544, allocations: 0.7173 MB / 299.3 MB, free: 5.477 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.04544, allocations: 0 / 299.3 MB, free: 5.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002797/0.04824, allocations: 1.177 MB / 300.4 MB, free: 4.242 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.391e-05/0.04832, allocations: 89.09 kB / 300.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.04833, allocations: 0 / 300.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009866/0.04931, allocations: 262.5 kB / 300.8 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/0.05, allocations: 143.8 kB / 300.9 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1266/0.1766, allocations: 8.515 MB / 309.4 MB, free: 36.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/0.1776, allocations: 90.94 kB / 309.5 MB, free: 36.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.1776, allocations: 21.67 kB / 309.5 MB, free: 36.47 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 (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.0003408/0.178, allocations: 276.7 kB / 309.8 MB, free: 36.31 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.1781, allocations: 116.2 kB / 309.9 MB, free: 36.31 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.1783, allocations: 91.94 kB / 310 MB, free: 36.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1783, allocations: 7.703 kB / 310 MB, free: 36.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1783, allocations: 1 kB / 310 MB, free: 36.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002036/0.1804, allocations: 1.21 MB / 311.2 MB, free: 35.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003449/0.1838, allocations: 1.844 MB / 313.1 MB, free: 35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1838, allocations: 0.7656 kB / 313.1 MB, free: 35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006878/0.1845, allocations: 141.6 kB / 313.2 MB, free: 35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000724/0.1852, allocations: 223.3 kB / 313.4 MB, free: 34.92 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.1853, allocations: 14.94 kB / 313.5 MB, free: 34.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005563/0.1908, allocations: 6.523 MB / 320 MB, free: 28.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1908, allocations: 1.156 kB / 320 MB, free: 28.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003125/0.194, allocations: 1.436 MB / 321.4 MB, free: 28.35 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003826/0.1943, allocations: 167.8 kB / 321.6 MB, free: 28.26 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.1945, allocations: 19.06 kB / 321.6 MB, free: 28.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/0.1951, allocations: 40.8 kB / 321.6 MB, free: 28.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.1953, allocations: 74.25 kB / 321.7 MB, free: 28.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.1953, allocations: 19.75 kB / 321.7 MB, free: 28.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006007/0.1959, allocations: 0.5186 MB / 322.2 MB, free: 27.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1959, allocations: 3.562 kB / 322.2 MB, free: 27.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009163/0.1968, allocations: 292 kB / 322.5 MB, free: 27.91 MB / 282.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.0001472/0.197, allocations: 123.9 kB / 322.7 MB, free: 27.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.199, allocations: 1.655 MB / 324.3 MB, free: 26.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.199, allocations: 3.562 kB / 324.3 MB, free: 26.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.2002, allocations: 0.9319 MB / 325.2 MB, free: 25.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009679/0.2011, allocations: 251.7 kB / 325.5 MB, free: 25.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.2035, allocations: 1.567 MB / 327.1 MB, free: 24.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.2038, allocations: 363.7 kB / 327.4 MB, free: 24.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003603/0.2041, allocations: 99.72 kB / 327.5 MB, free: 24.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.2043, allocations: 69.59 kB / 327.6 MB, free: 24.85 MB / 282.7 MB Notification: Performance of SimCode: time 9.21e-07/0.2043, allocations: 0 / 327.6 MB, free: 24.85 MB / 282.7 MB Notification: Performance of Templates: time 0.02359/0.2279, allocations: 19.51 MB / 347.1 MB, free: 7.074 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.329688342055306]