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.001177/0.001177, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001211/0.001211, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.271/1.271, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] 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.00137/0.00137, allocations: 47.92 kB / 371.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2062, allocations: 52.19 MB / 423.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.005992/0.2122, allocations: 5.233 MB / 428.7 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.2141, allocations: 1.337 MB / 430 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.2144, allocations: 15.94 kB / 430 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.2147, allocations: 162.5 kB / 430.2 MB, free: 7.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005626/0.2153, allocations: 349.1 kB / 430.5 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.2157, allocations: 243.6 kB / 430.7 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.2169, allocations: 1.219 MB / 432 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003488/0.2172, allocations: 242.7 kB / 432.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004645/0.2177, allocations: 490.3 kB / 432.7 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005975/0.2183, allocations: 0.5291 MB / 433.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.2184, allocations: 108 kB / 433.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.2186, allocations: 108 kB / 433.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.2188, allocations: 243.2 kB / 433.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004875/0.2192, allocations: 0.5405 MB / 434.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.2204, allocations: 1.26 MB / 435.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2204, allocations: 4 kB / 435.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2204, allocations: 3.938 kB / 435.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.2205, allocations: 0 / 435.5 MB, free: 2.465 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.002387/0.2228, allocations: 1.339 MB / 436.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2229, allocations: 8.031 kB / 436.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.347e-05/0.2229, allocations: 21.48 kB / 436.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.2231, allocations: 131.8 kB / 437 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.2233, allocations: 120.3 kB / 437.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009398/0.2242, allocations: 0.5584 MB / 437.6 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.2245, allocations: 309.2 kB / 437.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.2246, allocations: 72.12 kB / 438 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.2262, allocations: 0.9251 MB / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2262, allocations: 3.953 kB / 438.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/0.2262, allocations: 28 kB / 439 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.2263, allocations: 16 kB / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.2277, allocations: 0.6609 MB / 439.6 MB, free: 14.04 MB / 350.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.003829/0.2316, allocations: 2.269 MB / 441.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.2332, allocations: 0.763 MB / 442.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008469/0.234, allocations: 418.3 kB / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/0.2341, allocations: 12.98 kB / 443.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/0.2341, allocations: 59.5 kB / 443.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.695e-06/0.2341, allocations: 0 / 443.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=140): time 0.01822/0.2524, allocations: 6.305 MB / 449.5 MB, free: 4.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007736/0.2601, allocations: 4.797 MB / 454.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008524/0.2609, allocations: 0.6646 MB / 454.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.2611, allocations: 57.64 kB / 455 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.2614, allocations: 358 kB / 455.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004756/0.2619, allocations: 0.4918 MB / 455.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004546/0.2623, allocations: 234.9 kB / 456 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2625, allocations: 357.9 kB / 456.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.264, allocations: 0.6819 MB / 457.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.2657, allocations: 0.9913 MB / 458.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002938/0.2686, allocations: 1.49 MB / 459.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.2687, allocations: 3.984 kB / 459.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.006087/0.2747, allocations: 2.401 MB / 462 MB, free: 7.016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.482e-05/0.2748, allocations: 85.11 kB / 462 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.2748, allocations: 0 / 462 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002581/0.2774, allocations: 0.752 MB / 462.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.2784, allocations: 239.7 kB / 463 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01644/0.2949, allocations: 13.44 MB / 476.5 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.2969, allocations: 199.8 kB / 476.7 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.2971, allocations: 51.94 kB / 476.7 MB, free: 7.309 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.0006015/0.2978, allocations: 265.6 kB / 477 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.298, allocations: 115.3 kB / 477.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.2983, allocations: 130.7 kB / 477.2 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006087/0.3044, allocations: 2.209 MB / 479.4 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.3044, allocations: 4 kB / 479.4 MB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005966/0.3104, allocations: 2.574 MB / 482 MB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.3206, allocations: 4.582 MB / 486.6 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.3206, allocations: 7.984 kB / 486.6 MB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000987/0.3216, allocations: 223.9 kB / 486.8 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003637/0.3252, allocations: 1.134 MB / 487.9 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.3253, allocations: 35.97 kB / 488 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01834/0.3436, allocations: 12.76 MB / 0.489 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006848/0.3505, allocations: 3.702 MB / 0.4926 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008222/0.3587, allocations: 3.438 MB / 0.496 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006731/0.3594, allocations: 279.1 kB / 0.4962 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.3596, allocations: 36.12 kB / 0.4963 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.361, allocations: 127.8 kB / 0.4964 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004204/0.3614, allocations: 156.9 kB / 0.4965 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.3615, allocations: 43.95 kB / 0.4966 GB, free: 6.414 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006615/0.3622, allocations: 475 kB / 0.497 GB, free: 5.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3622, allocations: 0 / 0.497 GB, free: 5.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001766/0.3639, allocations: 0.5898 MB / 0.4976 GB, free: 5.363 MB / 414.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.008518/0.3724, allocations: 4.029 MB / 0.5016 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004944/0.3774, allocations: 2.779 MB / 0.5043 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3774, allocations: 0 / 0.5043 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004007/0.3814, allocations: 1.846 MB / 0.5061 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.3828, allocations: 266.9 kB / 0.5063 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02329/0.4061, allocations: 12.29 MB / 0.5183 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007123/0.4068, allocations: 1.073 MB / 0.5194 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005849/0.4074, allocations: 152.9 kB / 0.5195 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006759/0.4081, allocations: 427.2 kB / 0.5199 GB, free: 13.96 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4081, allocations: 0 / 0.5199 GB, free: 13.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2461/0.6542, allocations: 42.68 MB / 0.5616 GB, free: 124.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.26, allocations: 1.75 kB / 0.5616 GB, free: 124.7 MB / 462.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: 17.723068239050917]