Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001299/0.001299, allocations: 121.5 kB / 19.17 MB, free: 3.898 MB / 14.72 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.001282/0.001282, allocations: 203.9 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 207.6 MB / 232.5 MB, free: 3.988 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 47.94 kB / 343 MB, free: 10.11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08496/0.08665, allocations: 49.13 MB / 392.1 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006815/0.09346, allocations: 5.215 MB / 397.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.09615, allocations: 1.379 MB / 398.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.09673, allocations: 11.94 kB / 398.7 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005102/0.09724, allocations: 174.5 kB / 398.9 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008468/0.09808, allocations: 349.1 kB / 399.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.09859, allocations: 239.7 kB / 399.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.09989, allocations: 1.223 MB / 400.7 MB, free: 208 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004025/0.1003, allocations: 242.2 kB / 400.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004816/0.1008, allocations: 486.3 kB / 401.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005783/0.1014, allocations: 0.5291 MB / 401.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.1015, allocations: 108 kB / 402 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.1017, allocations: 112 kB / 402.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.1019, allocations: 235.2 kB / 402.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004868/0.1023, allocations: 0.5366 MB / 402.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.1036, allocations: 1.257 MB / 404.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1036, allocations: 0 / 404.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1036, allocations: 0 / 404.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.1036, allocations: 0 / 404.2 MB, free: 12.7 MB / 334.1 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.002492/0.1061, allocations: 1.418 MB / 405.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1061, allocations: 8.031 kB / 405.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.804e-05/0.1062, allocations: 29.42 kB / 405.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.1064, allocations: 131.9 kB / 405.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.1066, allocations: 120.3 kB / 405.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009849/0.1076, allocations: 0.611 MB / 406.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.1078, allocations: 150.9 kB / 406.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.1079, allocations: 80.12 kB / 406.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.1095, allocations: 0.9134 MB / 407.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.1095, allocations: 7.938 kB / 407.6 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.472e-05/0.1096, allocations: 32 kB / 407.7 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.1096, allocations: 16 kB / 407.7 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.1111, allocations: 0.6531 MB / 408.3 MB, free: 8.301 MB / 334.1 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.003641/0.1148, allocations: 2.319 MB / 410.6 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.1166, allocations: 0.99 MB / 411.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008624/0.1174, allocations: 418.3 kB / 412 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-05/0.1175, allocations: 16.98 kB / 412.1 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.1175, allocations: 55.5 kB / 412.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.144e-06/0.1175, allocations: 0 / 412.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=140): time 0.01904/0.1366, allocations: 6.618 MB / 418.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008121/0.1447, allocations: 4.903 MB / 423.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008639/0.1456, allocations: 0.6646 MB / 424.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000191/0.1458, allocations: 53.7 kB / 424.4 MB, free: 7.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.1461, allocations: 366 kB / 424.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004599/0.1465, allocations: 0.4918 MB / 425.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004279/0.1469, allocations: 239 kB / 425.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1471, allocations: 357.9 kB / 425.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001466/0.1486, allocations: 0.6701 MB / 426.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.1503, allocations: 1.003 MB / 427.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002929/0.1533, allocations: 1.486 MB / 428.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1533, allocations: 3.938 kB / 429 MB, free: 2.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.006091/0.1594, allocations: 2.401 MB / 431.4 MB, free: 420 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.309e-05/0.1594, allocations: 89.11 kB / 431.4 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.1594, allocations: 0 / 431.4 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002594/0.162, allocations: 0.7521 MB / 432.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.163, allocations: 231.7 kB / 432.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01713/0.1802, allocations: 14.25 MB / 446.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.1821, allocations: 199.8 kB / 446.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.1822, allocations: 55.94 kB / 446.9 MB, free: 15.67 MB / 382.1 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 (119): * Single equations (assignments): 106 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,3,88.9%), (1,3,100.0%), (1,7,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (3,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004647/0.1827, allocations: 261.6 kB / 447.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.1829, allocations: 115.3 kB / 447.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.1832, allocations: 130.7 kB / 447.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005911/0.1891, allocations: 2.217 MB / 449.6 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1891, allocations: 7.938 kB / 449.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006024/0.1951, allocations: 2.57 MB / 452.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.2052, allocations: 4.637 MB / 456.8 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.2053, allocations: 0 / 456.8 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.2063, allocations: 219.7 kB / 457.1 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003823/0.2101, allocations: 1.129 MB / 458.2 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.2102, allocations: 43.95 kB / 458.2 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1816/0.3918, allocations: 13.36 MB / 471.6 MB, free: 58.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006376/0.3982, allocations: 3.823 MB / 475.4 MB, free: 55.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007682/0.4059, allocations: 3.44 MB / 478.9 MB, free: 54.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005417/0.4064, allocations: 340.8 kB / 479.2 MB, free: 54.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.4066, allocations: 34.12 kB / 479.2 MB, free: 54.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/0.4079, allocations: 127.1 kB / 479.3 MB, free: 54.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003998/0.4083, allocations: 145.1 kB / 479.5 MB, free: 54.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/0.4084, allocations: 43.25 kB / 479.5 MB, free: 54.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004753/0.4089, allocations: 479 kB / 480 MB, free: 53.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4089, allocations: 0 / 480 MB, free: 53.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001575/0.4104, allocations: 0.5898 MB / 480.6 MB, free: 53.9 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,3,100.0%), (3,3,88.9%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,15), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007137/0.4176, allocations: 4.032 MB / 484.6 MB, free: 52.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003721/0.4213, allocations: 2.777 MB / 487.4 MB, free: 50.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4213, allocations: 0 / 487.4 MB, free: 50.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003289/0.4246, allocations: 1.848 MB / 489.2 MB, free: 49.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.4257, allocations: 265.4 kB / 489.5 MB, free: 49.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01846/0.4442, allocations: 12.3 MB / 0.49 GB, free: 37.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.4446, allocations: 1.068 MB / 0.4911 GB, free: 36.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005705/0.4451, allocations: 156.5 kB / 0.4912 GB, free: 36.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005298/0.4457, allocations: 427.2 kB / 0.4916 GB, free: 35.8 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4457, allocations: 0 / 0.4916 GB, free: 35.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07955/0.5252, allocations: 41.43 MB / 0.5321 GB, free: 10.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/14.86, allocations: 15.88 kB / 0.5321 GB, free: 10.26 MB / 398.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 17.439375264046248]