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.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.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",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.001242/0.001242, allocations: 104.4 kB / 17.15 MB, free: 6.309 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.001304/0.001304, allocations: 198 kB / 18.07 MB, free: 5.41 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.427/1.427, allocations: 205.1 MB / 223.9 MB, free: 12.49 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: 60.14 kB / 280.1 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08742/0.08853, allocations: 46.62 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005271/0.09387, allocations: 4.395 MB / 331.1 MB, free: 384 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.09617, allocations: 1.243 MB / 332.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/0.09652, allocations: 11.88 kB / 332.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.09692, allocations: 115.3 kB / 332.5 MB, free: 15 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.0974, allocations: 230.2 kB / 332.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.0978, allocations: 171.8 kB / 332.8 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000772/0.09858, allocations: 0.8905 MB / 333.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.0989, allocations: 216.9 kB / 334 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000337/0.09924, allocations: 338.7 kB / 334.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/0.09959, allocations: 386.3 kB / 334.7 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.708e-05/0.09968, allocations: 52 kB / 334.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.0998, allocations: 56 kB / 334.8 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.09993, allocations: 147.4 kB / 334.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.1003, allocations: 394.1 kB / 335.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006401/0.1009, allocations: 0.8836 MB / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1009, allocations: 4 kB / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1009, allocations: 4 kB / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1009, allocations: 3.938 kB / 336.2 MB, free: 11.24 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001922/0.1029, allocations: 1.109 MB / 337.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1029, allocations: 8.031 kB / 337.3 MB, free: 10.06 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.1031, allocations: 95.69 kB / 337.4 MB, free: 9.961 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.1032, allocations: 84 kB / 337.5 MB, free: 9.879 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006138/0.1038, allocations: 488.5 kB / 338 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.104, allocations: 105 kB / 338.1 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.1041, allocations: 44.38 kB / 338.1 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.1052, allocations: 0.6592 MB / 338.8 MB, free: 8.469 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1052, allocations: 0 / 338.8 MB, free: 8.469 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/0.1052, allocations: 24 kB / 338.8 MB, free: 8.445 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1053, allocations: 12 kB / 338.8 MB, free: 8.434 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009686/0.1062, allocations: 451.6 kB / 339.2 MB, free: 7.992 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.00284/0.1091, allocations: 1.983 MB / 341.2 MB, free: 5.883 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.1109, allocations: 0.6869 MB / 341.9 MB, free: 5.172 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005206/0.1114, allocations: 262 kB / 342.2 MB, free: 4.914 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.304e-05/0.1115, allocations: 12.42 kB / 342.2 MB, free: 4.902 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1115, allocations: 39 kB / 342.2 MB, free: 4.855 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 1.914e-06/0.1115, allocations: 0 / 342.2 MB, free: 4.855 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.004786/0.1163, allocations: 1.483 MB / 343.7 MB, free: 3.297 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002091/0.1165, allocations: 0.5644 MB / 344.3 MB, free: 2.598 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.1171, allocations: 0.5382 MB / 344.8 MB, free: 2.051 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.1172, allocations: 37.7 kB / 344.8 MB, free: 2.008 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.1174, allocations: 292.5 kB / 345.1 MB, free: 1.719 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.1175, allocations: 185.2 kB / 345.3 MB, free: 1.535 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.1177, allocations: 118.1 kB / 345.4 MB, free: 1.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1179, allocations: 370.7 kB / 345.8 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/0.1183, allocations: 197 kB / 346 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.119, allocations: 416.3 kB / 346.4 MB, free: 368 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009692/0.12, allocations: 488.6 kB / 346.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.12, allocations: 0 / 346.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002184/0.1222, allocations: 0.8067 MB / 347.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.1222, allocations: 29.7 kB / 347.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1222, allocations: 4 kB / 347.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009615/0.1232, allocations: 230.3 kB / 347.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.1239, allocations: 127.8 kB / 348 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006612/0.1305, allocations: 5.152 MB / 353.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/0.1312, allocations: 79.55 kB / 353.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.1313, allocations: 19.98 kB / 353.3 MB, free: 8.984 MB / 302.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002805/0.1316, allocations: 189.8 kB / 353.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.1317, allocations: 71.19 kB / 353.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.1339, allocations: 0.7812 MB / 354.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1339, allocations: 4 kB / 354.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1339, allocations: 0 / 354.3 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002016/0.1359, allocations: 1.035 MB / 355.4 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.1388, allocations: 1.51 MB / 356.9 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1388, allocations: 0 / 356.9 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/0.1396, allocations: 127.8 kB / 357 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008206/0.1404, allocations: 181.6 kB / 357.2 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.1404, allocations: 12 kB / 357.2 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004598/0.145, allocations: 3.49 MB / 360.7 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1451, allocations: 0 / 360.7 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002666/0.1477, allocations: 1.066 MB / 361.8 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003238/0.1481, allocations: 208.1 kB / 362 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.192e-05/0.1482, allocations: 12 kB / 362 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/0.1487, allocations: 39.97 kB / 362 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.1488, allocations: 52.36 kB / 362.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.1488, allocations: 16 kB / 362.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004102/0.1493, allocations: 390.8 kB / 362.5 MB, free: 15.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1493, allocations: 0 / 362.5 MB, free: 15.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006914/0.15, allocations: 211.8 kB / 362.7 MB, free: 15.1 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002894/0.1529, allocations: 1.623 MB / 364.3 MB, free: 13.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002175/0.1551, allocations: 1.019 MB / 365.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1551, allocations: 0 / 365.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009544/0.156, allocations: 0.5395 MB / 365.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009414/0.157, allocations: 181.4 kB / 366 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.1671, allocations: 6.511 MB / 372.5 MB, free: 4.992 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.1676, allocations: 0.8918 MB / 373.4 MB, free: 4.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004163/0.168, allocations: 81.12 kB / 373.5 MB, free: 3.992 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/0.1683, allocations: 235.4 kB / 373.7 MB, free: 3.766 MB / 318.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1683, allocations: 0 / 373.7 MB, free: 3.766 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1663/0.3346, allocations: 18.75 MB / 392.5 MB, free: 48.38 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.3348, allocations: 239.1 kB / 392.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.598, allocations: 0 / 392.7 MB, free: 48.12 MB / 318.1 MB (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 --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) 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","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches