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.001297/0.001298, allocations: 105.2 kB / 17.58 MB, free: 5.562 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.001181/0.001181, allocations: 184.2 kB / 18.5 MB, free: 4.648 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.378/1.378, 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.001163/0.001163, allocations: 55.92 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08177/0.08294, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005944/0.08893, allocations: 4.369 MB / 331.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.09105, allocations: 1.259 MB / 333 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.09133, allocations: 11.94 kB / 333 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003969/0.09176, allocations: 130.8 kB / 333.1 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.09228, allocations: 261.8 kB / 333.4 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.09271, allocations: 203.7 kB / 333.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008117/0.09353, allocations: 0.9217 MB / 334.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003459/0.09388, allocations: 244.5 kB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003678/0.09426, allocations: 358.7 kB / 335.1 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004019/0.09467, allocations: 402.3 kB / 335.5 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.09479, allocations: 76 kB / 335.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.09493, allocations: 80 kB / 335.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.09508, allocations: 171.4 kB / 335.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003583/0.09544, allocations: 414.1 kB / 336.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008183/0.09627, allocations: 0.9071 MB / 337.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.09628, allocations: 0 / 337.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09629, allocations: 0 / 337.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.09631, allocations: 0 / 337.1 MB, free: 10.57 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.001944/0.09826, allocations: 1.121 MB / 338.3 MB, free: 9.379 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.09831, allocations: 8.031 kB / 338.3 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.09845, allocations: 87.7 kB / 338.3 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.09859, allocations: 92 kB / 338.4 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.0992, allocations: 484.5 kB / 338.9 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.09934, allocations: 101 kB / 339 MB, free: 8.566 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.09946, allocations: 48.38 kB / 339.1 MB, free: 8.52 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.1006, allocations: 0.6553 MB / 339.7 MB, free: 7.785 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.1006, allocations: 4 kB / 339.7 MB, free: 7.781 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/0.1007, allocations: 27.88 kB / 339.7 MB, free: 7.754 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1007, allocations: 12 kB / 339.8 MB, free: 7.742 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.1017, allocations: 451.7 kB / 340.2 MB, free: 7.305 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.003044/0.1048, allocations: 1.975 MB / 342.2 MB, free: 5.199 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.1067, allocations: 0.6866 MB / 342.9 MB, free: 4.488 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005426/0.1072, allocations: 262 kB / 343.1 MB, free: 4.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/0.1073, allocations: 12.42 kB / 343.1 MB, free: 4.219 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.1074, allocations: 43 kB / 343.2 MB, free: 4.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 3.206e-06/0.1074, allocations: 0 / 343.2 MB, free: 4.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.004758/0.1121, allocations: 1.487 MB / 344.7 MB, free: 2.605 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002418/0.1124, allocations: 0.5644 MB / 345.2 MB, free: 1.906 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005791/0.113, allocations: 0.5382 MB / 345.8 MB, free: 1.359 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.113, allocations: 41.7 kB / 345.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.1132, allocations: 288.5 kB / 346.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.1134, allocations: 185.3 kB / 346.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.1136, allocations: 114.1 kB / 346.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1138, allocations: 370.7 kB / 346.7 MB, free: 360 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/0.1143, allocations: 197 kB / 346.9 MB, free: 164 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006859/0.115, allocations: 416.3 kB / 347.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009901/0.116, allocations: 492.5 kB / 347.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.116, allocations: 0 / 347.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002173/0.1182, allocations: 0.8068 MB / 348.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.1182, allocations: 29.7 kB / 348.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1182, allocations: 4 kB / 348.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009543/0.1192, allocations: 234.3 kB / 348.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/0.1199, allocations: 123.8 kB / 349 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006936/0.1268, allocations: 5.619 MB / 354.6 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/0.1275, allocations: 75.55 kB / 354.7 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.1276, allocations: 16 kB / 354.7 MB, free: 7.82 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.0002747/0.1278, allocations: 189.8 kB / 354.9 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.128, allocations: 71.16 kB / 355 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.1302, allocations: 0.7813 MB / 355.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1302, allocations: 7.938 kB / 355.8 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1302, allocations: 4 kB / 355.8 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002062/0.1323, allocations: 1.043 MB / 356.8 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.1353, allocations: 1.506 MB / 358.3 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1354, allocations: 0 / 358.3 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007232/0.1361, allocations: 131.8 kB / 358.4 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007929/0.1369, allocations: 177.5 kB / 358.6 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.1369, allocations: 11.98 kB / 358.6 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005143/0.1421, allocations: 3.795 MB / 362.4 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.1421, allocations: 3.938 kB / 362.4 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/0.1449, allocations: 1.07 MB / 363.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.1452, allocations: 200.2 kB / 363.7 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.283e-05/0.1453, allocations: 19.94 kB / 363.7 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004996/0.1458, allocations: 47.89 kB / 363.7 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.146, allocations: 44.5 kB / 363.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.146, allocations: 12.23 kB / 363.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004815/0.1465, allocations: 386.8 kB / 364.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1465, allocations: 0 / 364.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008291/0.1473, allocations: 223.7 kB / 364.4 MB, free: 13.59 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.003184/0.1505, allocations: 1.63 MB / 366 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002511/0.1531, allocations: 1.053 MB / 367.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.1531, allocations: 0 / 367.1 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.1541, allocations: 0.5318 MB / 367.6 MB, free: 10.26 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009046/0.155, allocations: 181.5 kB / 367.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.1667, allocations: 6.318 MB / 374.1 MB, free: 3.645 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005546/0.1673, allocations: 0.8917 MB / 375 MB, free: 2.723 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003969/0.1677, allocations: 89.11 kB / 375.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.168, allocations: 231.4 kB / 375.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of SimCode: time 1.173e-06/0.1681, allocations: 0 / 375.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.189/0.3571, allocations: 19.89 MB / 395.2 MB, free: 47.64 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.69, allocations: 2.5 kB / 395.2 MB, free: 47.64 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","/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) Reference file matches