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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 104.2 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 191.9 kB / 18.51 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB 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.001101/0.001101, allocations: 52.14 kB / 280.8 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07633/0.07744, allocations: 46.62 MB / 327.4 MB, free: 4.395 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00597/0.08345, allocations: 4.842 MB / 332.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.08626, allocations: 1.391 MB / 333.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006033/0.08689, allocations: 11.94 kB / 333.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005893/0.08754, allocations: 150.7 kB / 333.8 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009908/0.08855, allocations: 345.4 kB / 334.1 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.0891, allocations: 211.6 kB / 334.3 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.09036, allocations: 1.035 MB / 335.3 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.09078, allocations: 289.9 kB / 335.6 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000532/0.09132, allocations: 398.7 kB / 336 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.09189, allocations: 458.1 kB / 336.5 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.09205, allocations: 88 kB / 336.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.09224, allocations: 92 kB / 336.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.09241, allocations: 191.3 kB / 336.8 MB, free: 10.87 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000469/0.09289, allocations: 477.8 kB / 337.3 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009281/0.09382, allocations: 1.059 MB / 338.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.09384, allocations: 0 / 338.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09385, allocations: 0 / 338.3 MB, free: 9.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.282e-05/0.09388, allocations: 0 / 338.3 MB, free: 9.34 MB / 286.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.002311/0.0962, allocations: 1.22 MB / 339.6 MB, free: 8.051 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.09625, allocations: 8.031 kB / 339.6 MB, free: 8.043 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00017/0.09642, allocations: 111.9 kB / 339.7 MB, free: 7.922 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.0966, allocations: 99.81 kB / 339.8 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006754/0.09729, allocations: 0.5123 MB / 340.3 MB, free: 7.273 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.09744, allocations: 109.2 kB / 340.4 MB, free: 7.156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.599e-05/0.09752, allocations: 56.31 kB / 340.5 MB, free: 7.102 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.09883, allocations: 0.8127 MB / 341.3 MB, free: 6.184 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.09886, allocations: 0 / 341.3 MB, free: 6.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.464e-05/0.09893, allocations: 28 kB / 341.3 MB, free: 6.156 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.09895, allocations: 12 kB / 341.3 MB, free: 6.145 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.1001, allocations: 0.5087 MB / 341.8 MB, free: 5.637 MB / 286.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.003258/0.1034, allocations: 2.183 MB / 344 MB, free: 3.316 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.1047, allocations: 0.5253 MB / 344.5 MB, free: 2.781 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005699/0.1053, allocations: 262.4 kB / 344.8 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.1053, allocations: 17.64 kB / 344.8 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000757/0.1061, allocations: 323 kB / 345.1 MB, free: 2.184 MB / 286.1 MB Notification: Performance of pre-optimization done (n=56): time 2.305e-06/0.1061, allocations: 3.938 kB / 345.1 MB, free: 2.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=56): time 0.004954/0.1111, allocations: 1.485 MB / 346.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003834/0.1115, allocations: 0.8194 MB / 347.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000797/0.1123, allocations: 0.5939 MB / 348 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.642e-05/0.1124, allocations: 45.69 kB / 348.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.1127, allocations: 336.7 kB / 348.4 MB, free: 14.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.1129, allocations: 185.3 kB / 348.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.1131, allocations: 130.1 kB / 348.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.1133, allocations: 386.7 kB / 349.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/0.1139, allocations: 209 kB / 349.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008888/0.1148, allocations: 0.5208 MB / 349.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.116, allocations: 0.5614 MB / 350.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.116, allocations: 0 / 350.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00224/0.1183, allocations: 0.8935 MB / 351.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.834e-05/0.1183, allocations: 63.41 kB / 351.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.1183, allocations: 4 kB / 351.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000761/0.1191, allocations: 229.5 kB / 351.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.1197, allocations: 115.9 kB / 351.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006602/0.1264, allocations: 4.596 MB / 356.3 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008157/0.1272, allocations: 83.48 kB / 356.3 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.1273, allocations: 23.98 kB / 356.4 MB, free: 6.16 MB / 302.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.000433/0.1277, allocations: 209.8 kB / 356.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.1279, allocations: 87 kB / 356.7 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.1281, allocations: 78.86 kB / 356.7 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1281, allocations: 8 kB / 356.7 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1282, allocations: 0 / 356.7 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002032/0.1302, allocations: 1.05 MB / 357.8 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.1329, allocations: 1.552 MB / 359.3 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1329, allocations: 0 / 359.3 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/0.1335, allocations: 107.8 kB / 359.4 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005176/0.134, allocations: 173.5 kB / 359.6 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.134, allocations: 15.98 kB / 359.6 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004718/0.1388, allocations: 3.94 MB / 363.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1388, allocations: 4.172 kB / 363.6 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.141, allocations: 1.023 MB / 364.6 MB, free: 13.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.1414, allocations: 216 kB / 364.8 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.1415, allocations: 19.98 kB / 364.8 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005982/0.1422, allocations: 44.02 kB / 364.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.1423, allocations: 56.44 kB / 364.9 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.1423, allocations: 16.09 kB / 364.9 MB, free: 13.05 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005286/0.1429, allocations: 423 kB / 365.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1429, allocations: 0 / 365.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007648/0.1437, allocations: 247.7 kB / 365.6 MB, free: 12.41 MB / 318.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.002536/0.1462, allocations: 1.603 MB / 367.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002196/0.1484, allocations: 1.031 MB / 368.2 MB, free: 9.684 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1484, allocations: 4.062 kB / 368.2 MB, free: 9.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009135/0.1493, allocations: 0.5394 MB / 368.8 MB, free: 9.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000854/0.1502, allocations: 207.3 kB / 369 MB, free: 8.914 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009957/0.1602, allocations: 6.401 MB / 375.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.1607, allocations: 0.92 MB / 376.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000372/0.161, allocations: 85.22 kB / 376.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.1614, allocations: 263.3 kB / 376.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1614, allocations: 3.938 kB / 376.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1714/0.3328, allocations: 22.44 MB / 399.1 MB, free: 43.34 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.92, allocations: 11.66 kB / 399.1 MB, free: 43.33 MB / 318.1 MB (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 --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) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches