Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.001206/0.001206, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001238/0.001238, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.308/1.308, allocations: 207.6 MB / 232.5 MB, free: 3.73 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.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",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.00165/0.00165, allocations: 59.91 kB / 343 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.08579, allocations: 49.13 MB / 392.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005583/0.09137, allocations: 4.381 MB / 396.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.09342, allocations: 1.274 MB / 397.8 MB, free: 3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.09363, allocations: 11.94 kB / 397.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.09397, allocations: 130.8 kB / 397.9 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004928/0.09447, allocations: 273.8 kB / 398.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.09485, allocations: 195.7 kB / 398.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009613/0.09581, allocations: 0.9259 MB / 399.3 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.09609, allocations: 176.5 kB / 399.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004155/0.09651, allocations: 374.6 kB / 399.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004555/0.09697, allocations: 398.4 kB / 400.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.09707, allocations: 80 kB / 400.3 MB, free: 464 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.09719, allocations: 76 kB / 400.4 MB, free: 388 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.09734, allocations: 171.4 kB / 400.5 MB, free: 216 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000395/0.09773, allocations: 418.1 kB / 400.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009369/0.09867, allocations: 0.9259 MB / 401.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.09867, allocations: 0 / 401.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.09868, allocations: 3.938 kB / 401.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.09869, allocations: 4 kB / 401.9 MB, free: 14.86 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002037/0.1007, allocations: 1.132 MB / 403 MB, free: 13.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1008, allocations: 8.031 kB / 403 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.593e-05/0.1008, allocations: 13.19 kB / 403 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.101, allocations: 103.6 kB / 403.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.1011, allocations: 88.42 kB / 403.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007563/0.1019, allocations: 497 kB / 403.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.102, allocations: 96.97 kB / 403.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.369e-05/0.1021, allocations: 52.12 kB / 403.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.1033, allocations: 0.6709 MB / 404.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1033, allocations: 0 / 404.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.1034, allocations: 24 kB / 404.5 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1034, allocations: 12 kB / 404.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.1045, allocations: 463.7 kB / 405 MB, free: 11.54 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.003106/0.1076, allocations: 1.995 MB / 407 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.1095, allocations: 0.6602 MB / 407.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/0.1101, allocations: 254.4 kB / 407.9 MB, free: 8.477 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.561e-05/0.1101, allocations: 8.562 kB / 407.9 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.1102, allocations: 43.12 kB / 408 MB, free: 8.414 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 1.653e-06/0.1102, allocations: 7.938 kB / 408 MB, free: 8.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=95): time 0.01793/0.1281, allocations: 4.985 MB / 413 MB, free: 3.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003442/0.1315, allocations: 3.027 MB / 416 MB, free: 15.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006844/0.1322, allocations: 0.5343 MB / 416.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.1323, allocations: 49.7 kB / 416.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.1326, allocations: 293.8 kB / 416.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.1329, allocations: 337 kB / 417.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/0.1332, allocations: 170.6 kB / 417.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.1334, allocations: 382.8 kB / 417.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.1345, allocations: 437.8 kB / 418.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.1358, allocations: 0.6727 MB / 418.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/0.1381, allocations: 0.9703 MB / 419.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1381, allocations: 0 / 419.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.005364/0.1434, allocations: 1.678 MB / 421.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.1435, allocations: 33.7 kB / 421.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1435, allocations: 4.031 kB / 421.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00294/0.1464, allocations: 0.6488 MB / 422.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.1475, allocations: 195.7 kB / 422.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01583/0.1633, allocations: 11.52 MB / 433.9 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.1646, allocations: 91.94 kB / 434 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-05/0.1647, allocations: 31.98 kB / 434 MB, free: 12.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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: 1 * 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): 3 systems {(5,2,60.0%), (1,1,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000413/0.1651, allocations: 217.7 kB / 434.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.1652, allocations: 95.34 kB / 434.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005401/0.1706, allocations: 1.673 MB / 436 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.1706, allocations: 8 kB / 436 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.1707, allocations: 7.938 kB / 436 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00511/0.1758, allocations: 1.886 MB / 437.9 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007342/0.1831, allocations: 2.993 MB / 440.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1831, allocations: 0 / 440.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009718/0.1841, allocations: 179.7 kB / 441 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003083/0.1872, allocations: 0.6949 MB / 441.7 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.066e-05/0.1872, allocations: 27.92 kB / 441.8 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/0.2021, allocations: 10.32 MB / 452.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002476/0.2046, allocations: 2.259 MB / 454.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006703/0.2113, allocations: 2.338 MB / 456.7 MB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/0.2118, allocations: 252.5 kB / 456.9 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.2119, allocations: 24 kB / 456.9 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008922/0.2128, allocations: 68.02 kB / 457 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/0.2131, allocations: 104.7 kB / 457.1 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.437e-05/0.2131, allocations: 27.97 kB / 457.1 MB, free: 4.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004839/0.2136, allocations: 386.8 kB / 457.5 MB, free: 4.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2136, allocations: 0 / 457.5 MB, free: 4.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001212/0.2148, allocations: 352 kB / 457.9 MB, free: 3.914 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 ($STATESET1.x,heatCapacitor.T,speed.phi) * 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 (63): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,2,60.0%), (1,1,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,10), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007199/0.222, allocations: 2.924 MB / 460.8 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1514/0.3734, allocations: 1.954 MB / 462.7 MB, free: 64.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.3734, allocations: 1.656 kB / 462.7 MB, free: 64.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002696/0.3761, allocations: 1.268 MB / 464 MB, free: 63.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009935/0.3771, allocations: 202 kB / 464.2 MB, free: 63.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/0.3939, allocations: 8.879 MB / 473.1 MB, free: 61.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.3944, allocations: 0.9545 MB / 474 MB, free: 60.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005119/0.3949, allocations: 99.52 kB / 474.1 MB, free: 60.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/0.3953, allocations: 287.6 kB / 474.4 MB, free: 60.17 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3953, allocations: 2.688 kB / 474.4 MB, free: 60.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06049/0.4558, allocations: 29.2 MB / 0.4918 GB, free: 36.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/13.9, allocations: 0.625 kB / 0.4918 GB, free: 36.64 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.28522790200077]