Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.001237/0.001237, allocations: 110 kB / 18.49 MB, free: 4.543 MB / 14.72 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.001225/0.001225, allocations: 198.6 kB / 21.43 MB, free: 1.609 MB / 14.72 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.329/1.329, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 47.92 kB / 366.3 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08548/0.08687, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006174/0.09304, allocations: 5.207 MB / 423.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.09507, allocations: 1.336 MB / 425 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.09533, allocations: 15.94 kB / 425.1 MB, free: 6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.09573, allocations: 166.5 kB / 425.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006233/0.09635, allocations: 345.1 kB / 425.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.0968, allocations: 243.7 kB / 425.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.09805, allocations: 1.226 MB / 427 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.09842, allocations: 246.2 kB / 427.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004946/0.09892, allocations: 482.3 kB / 427.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005848/0.0995, allocations: 0.5291 MB / 428.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.09965, allocations: 108 kB / 428.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.09981, allocations: 108 kB / 428.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.1, allocations: 235.2 kB / 428.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004862/0.1005, allocations: 0.5483 MB / 429.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.1017, allocations: 1.257 MB / 430.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1017, allocations: 0 / 430.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1017, allocations: 0 / 430.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.1017, allocations: 0 / 430.5 MB, free: 0.5078 MB / 350.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.002505/0.1042, allocations: 1.418 MB / 431.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1043, allocations: 12.03 kB / 431.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.503e-05/0.1043, allocations: 25.38 kB / 432 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.1045, allocations: 127.9 kB / 432.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.1047, allocations: 124.2 kB / 432.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/0.1056, allocations: 0.6149 MB / 432.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.1058, allocations: 151 kB / 433 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.106, allocations: 72.08 kB / 433 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.1075, allocations: 0.9329 MB / 434 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1075, allocations: 0 / 434 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.409e-05/0.1076, allocations: 36 kB / 434 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.1076, allocations: 12 kB / 434 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.1091, allocations: 0.6531 MB / 434.7 MB, free: 12.1 MB / 366.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.003633/0.1127, allocations: 2.319 MB / 437 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.1145, allocations: 0.989 MB / 438 MB, free: 8.633 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008714/0.1154, allocations: 410.9 kB / 438.4 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-05/0.1154, allocations: 20.97 kB / 438.4 MB, free: 8.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/0.1155, allocations: 63.5 kB / 438.5 MB, free: 8.141 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.194e-06/0.1155, allocations: 0 / 438.5 MB, free: 8.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.01874/0.1342, allocations: 6.608 MB / 445.1 MB, free: 1.398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1579/0.2921, allocations: 4.882 MB / 449.9 MB, free: 27.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006592/0.2928, allocations: 0.6651 MB / 450.6 MB, free: 27.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.293, allocations: 56.06 kB / 450.7 MB, free: 27.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.2931, allocations: 354 kB / 451 MB, free: 27.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.2934, allocations: 0.4965 MB / 451.5 MB, free: 27.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003516/0.2938, allocations: 237.1 kB / 451.7 MB, free: 27.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.388e-05/0.2938, allocations: 359.9 kB / 452.1 MB, free: 27.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.2951, allocations: 0.6774 MB / 452.8 MB, free: 27.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.2966, allocations: 0.9982 MB / 453.8 MB, free: 26.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002679/0.2993, allocations: 1.491 MB / 455.3 MB, free: 26.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2993, allocations: 0.6562 kB / 455.3 MB, free: 26.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005915/0.3052, allocations: 2.401 MB / 457.7 MB, free: 25.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.3052, allocations: 84.33 kB / 457.7 MB, free: 25.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3052, allocations: 1.875 kB / 457.7 MB, free: 25.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002461/0.3077, allocations: 0.7523 MB / 458.5 MB, free: 24.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009693/0.3087, allocations: 243.7 kB / 458.7 MB, free: 24.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.3217, allocations: 14.26 MB / 473 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.3238, allocations: 196.8 kB / 473.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.3239, allocations: 52.91 kB / 473.2 MB, free: 12.2 MB / 366.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.0004073/0.3243, allocations: 261.6 kB / 473.5 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.3245, allocations: 121 kB / 473.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.3247, allocations: 130.1 kB / 473.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005565/0.3303, allocations: 2.21 MB / 475.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3303, allocations: 2.344 kB / 475.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005413/0.3357, allocations: 2.575 MB / 478.5 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00886/0.3446, allocations: 4.635 MB / 483.2 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.3446, allocations: 1.375 kB / 483.2 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/0.3455, allocations: 223.2 kB / 483.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003351/0.3488, allocations: 1.136 MB / 484.5 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.3489, allocations: 35.64 kB / 484.5 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/0.3644, allocations: 13.37 MB / 497.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006857/0.3713, allocations: 3.822 MB / 0.49 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008165/0.3795, allocations: 3.439 MB / 0.4933 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006188/0.3801, allocations: 352.3 kB / 0.4937 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.3802, allocations: 33.42 kB / 0.4937 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.3816, allocations: 129.1 kB / 0.4938 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000404/0.382, allocations: 149 kB / 0.494 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.622e-05/0.3821, allocations: 39.97 kB / 0.494 GB, free: 3.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005874/0.3827, allocations: 475 kB / 0.4945 GB, free: 2.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3827, allocations: 0 / 0.4945 GB, free: 2.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001678/0.3843, allocations: 0.5938 MB / 0.495 GB, free: 2.316 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.008471/0.3928, allocations: 4.039 MB / 0.499 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004801/0.3976, allocations: 2.773 MB / 0.5017 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.3976, allocations: 8 kB / 0.5017 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003905/0.4015, allocations: 1.847 MB / 0.5035 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.4028, allocations: 268.1 kB / 0.5038 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/0.4264, allocations: 12.27 MB / 0.5157 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007777/0.4272, allocations: 1.07 MB / 0.5168 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006497/0.4278, allocations: 156.8 kB / 0.5169 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007031/0.4285, allocations: 427.2 kB / 0.5173 GB, free: 10.96 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4285, allocations: 0 / 0.5173 GB, free: 10.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09289/0.5214, allocations: 41.44 MB / 0.5578 GB, free: 1.969 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.4, allocations: 11.98 kB / 0.5578 GB, free: 1.961 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 16.916741681983694]