Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.001322/0.001322, allocations: 116 kB / 18.45 MB, free: 4.625 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.001383/0.001383, allocations: 194.9 kB / 21.4 MB, free: 1.688 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.425/1.425, allocations: 207.6 MB / 231.8 MB, free: 4.211 MB / 174.1 MB " [Timeout remaining time 178] 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.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.WaterPump,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 55.91 kB / 342.3 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.09114, allocations: 49.11 MB / 391.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006124/0.09726, allocations: 4.848 MB / 396.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.1001, allocations: 1.41 MB / 397.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/0.1004, allocations: 8 kB / 397.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004505/0.1009, allocations: 154.7 kB / 397.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007532/0.1016, allocations: 345.4 kB / 398.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.1021, allocations: 215.6 kB / 398.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.1032, allocations: 1.031 MB / 399.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.1035, allocations: 209.9 kB / 399.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.104, allocations: 406.6 kB / 400 MB, free: 120 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005192/0.1045, allocations: 454.1 kB / 400.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.1046, allocations: 84 kB / 400.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1047, allocations: 92 kB / 400.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.1049, allocations: 199.3 kB / 400.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004539/0.1054, allocations: 469.9 kB / 401.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.1066, allocations: 1.085 MB / 402.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.1066, allocations: 8 kB / 402.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1066, allocations: 0 / 402.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.1066, allocations: 0 / 402.3 MB, free: 13.75 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002492/0.1091, allocations: 1.247 MB / 403.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1092, allocations: 8.031 kB / 403.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000166/0.1093, allocations: 104 kB / 403.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.1095, allocations: 104.4 kB / 403.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008861/0.1104, allocations: 0.5246 MB / 404.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.1106, allocations: 101.3 kB / 404.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.062e-05/0.1106, allocations: 56.33 kB / 404.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.112, allocations: 0.8087 MB / 405.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.112, allocations: 4 kB / 405.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.1121, allocations: 24 kB / 405.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1121, allocations: 12 kB / 405.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.1133, allocations: 0.5087 MB / 405.8 MB, free: 10.02 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.003726/0.1171, allocations: 2.175 MB / 408 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.1183, allocations: 0.4919 MB / 408.5 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.1188, allocations: 234.4 kB / 408.7 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.1189, allocations: 12.78 kB / 408.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007187/0.1196, allocations: 323 kB / 409 MB, free: 6.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 3.116e-06/0.1196, allocations: 0 / 409 MB, free: 6.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.004839/0.1244, allocations: 1.482 MB / 410.5 MB, free: 5.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004377/0.1249, allocations: 0.8233 MB / 411.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007376/0.1256, allocations: 0.5862 MB / 411.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.385e-05/0.1257, allocations: 45.7 kB / 412 MB, free: 3.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.126, allocations: 341.2 kB / 412.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.1262, allocations: 202.2 kB / 412.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.1264, allocations: 134.1 kB / 412.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.1266, allocations: 378.8 kB / 413 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.1272, allocations: 213 kB / 413.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008626/0.128, allocations: 0.5208 MB / 413.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.1292, allocations: 0.5692 MB / 414.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1292, allocations: 0 / 414.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00226/0.1315, allocations: 0.89 MB / 415.2 MB, free: 0 / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.275e-05/0.1315, allocations: 63.39 kB / 415.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1315, allocations: 4 kB / 415.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000691/0.1322, allocations: 225.4 kB / 415.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/0.1328, allocations: 119.8 kB / 415.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006679/0.1395, allocations: 4.593 MB / 420.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008186/0.1403, allocations: 83.58 kB / 420.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.1404, allocations: 31.97 kB / 420.3 MB, free: 10.6 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000375/0.1408, allocations: 213.8 kB / 420.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.1409, allocations: 83.47 kB / 420.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.141, allocations: 78.84 kB / 420.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1411, allocations: 4 kB / 420.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1411, allocations: 0 / 420.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002073/0.1431, allocations: 1.046 MB / 421.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.146, allocations: 1.547 MB / 423.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.146, allocations: 4 kB / 423.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/0.1466, allocations: 107.8 kB / 423.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000544/0.1472, allocations: 169.6 kB / 423.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/0.1472, allocations: 12 kB / 423.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005215/0.1524, allocations: 3.932 MB / 427.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1524, allocations: 0 / 427.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.1549, allocations: 1.017 MB / 428.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/0.1553, allocations: 232.5 kB / 428.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-05/0.1554, allocations: 12 kB / 428.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005548/0.1559, allocations: 43.95 kB / 428.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.1561, allocations: 52.48 kB / 428.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.1561, allocations: 16 kB / 428.9 MB, free: 1.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005233/0.1566, allocations: 415.1 kB / 429.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1566, allocations: 0 / 429.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008079/0.1575, allocations: 263.7 kB / 429.5 MB, free: 0.8594 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002679/0.1601, allocations: 1.596 MB / 431.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.1622, allocations: 0.9877 MB / 432.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.1622, allocations: 4 kB / 432.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009587/0.1632, allocations: 0.5238 MB / 432.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/0.1641, allocations: 211.8 kB / 432.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.1745, allocations: 6.135 MB / 439 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/0.175, allocations: 0.92 MB / 439.9 MB, free: 6.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004048/0.1754, allocations: 81.22 kB / 440 MB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.1758, allocations: 263.3 kB / 440.2 MB, free: 5.832 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1758, allocations: 4 kB / 440.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2243/0.4001, allocations: 22.9 MB / 463.1 MB, free: 65.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.01, allocations: 3.781 kB / 463.1 MB, free: 65.52 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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: 15.404746046755463]