Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001217, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 55.25 kB / 306.5 MB, free: 0.8477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09301, allocations: 50.54 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005519/0.09856, allocations: 4.403 MB / 361.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1008, allocations: 1.234 MB / 362.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004193/0.1012, allocations: 8 kB / 362.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004169/0.1017, allocations: 107.3 kB / 362.8 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006564/0.1024, allocations: 238.1 kB / 363.1 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.1028, allocations: 167.8 kB / 363.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.104, allocations: 0.9259 MB / 364.2 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003353/0.1043, allocations: 248.8 kB / 364.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005154/0.1048, allocations: 374.6 kB / 364.8 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.1053, allocations: 398.3 kB / 365.2 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.1055, allocations: 76 kB / 365.2 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.1056, allocations: 80 kB / 365.3 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.1058, allocations: 179.3 kB / 365.5 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004621/0.1062, allocations: 418.1 kB / 365.9 MB, free: 5.457 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007559/0.107, allocations: 0.9071 MB / 366.8 MB, free: 4.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.107, allocations: 4 kB / 366.8 MB, free: 4.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.107, allocations: 0 / 366.8 MB, free: 4.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.1071, allocations: 3.938 kB / 366.8 MB, free: 4.539 MB / 302.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.001992/0.109, allocations: 1.101 MB / 367.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1091, allocations: 12.03 kB / 367.9 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.1092, allocations: 91.61 kB / 368 MB, free: 3.262 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002357/0.1095, allocations: 91.98 kB / 368.1 MB, free: 3.172 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006135/0.1101, allocations: 492.6 kB / 368.6 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.1103, allocations: 96.95 kB / 368.7 MB, free: 2.547 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-05/0.1103, allocations: 52.38 kB / 368.7 MB, free: 2.496 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.1114, allocations: 0.6553 MB / 369.4 MB, free: 1.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.1115, allocations: 0 / 369.4 MB, free: 1.766 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.355e-05/0.1115, allocations: 24 kB / 369.4 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1115, allocations: 12 kB / 369.4 MB, free: 1.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009874/0.1125, allocations: 459.6 kB / 369.9 MB, free: 1.281 MB / 302.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.1444/0.2569, allocations: 1.966 MB / 371.8 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001802/0.2588, allocations: 0.6823 MB / 372.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.2593, allocations: 263.5 kB / 372.8 MB, free: 19.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.2594, allocations: 11.47 kB / 372.8 MB, free: 19.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.2594, allocations: 44.09 kB / 372.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.435e-06/0.2594, allocations: 0.8438 kB / 372.8 MB, free: 19.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.004754/0.2642, allocations: 1.479 MB / 374.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.2643, allocations: 0.5621 MB / 374.9 MB, free: 18.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.2648, allocations: 0.5392 MB / 375.4 MB, free: 17.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.2649, allocations: 39.91 kB / 375.4 MB, free: 17.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.265, allocations: 289.8 kB / 375.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.2651, allocations: 189.4 kB / 375.9 MB, free: 17.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.2653, allocations: 112.6 kB / 376 MB, free: 17.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.013e-05/0.2654, allocations: 370.6 kB / 376.4 MB, free: 17.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.2659, allocations: 198.1 kB / 376.6 MB, free: 17.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/0.2665, allocations: 417.7 kB / 377 MB, free: 16.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008987/0.2674, allocations: 496.9 kB / 377.5 MB, free: 16.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2674, allocations: 0 / 377.5 MB, free: 16.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0021/0.2695, allocations: 0.8 MB / 378.3 MB, free: 16.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.2695, allocations: 37.19 kB / 378.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.2695, allocations: 2.891 kB / 378.3 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.2705, allocations: 221.1 kB / 378.5 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/0.2713, allocations: 132.8 kB / 378.7 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006186/0.2775, allocations: 5.617 MB / 384.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/0.2781, allocations: 79.62 kB / 384.3 MB, free: 11.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.2781, allocations: 18.03 kB / 384.4 MB, free: 11.14 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.0001963/0.2783, allocations: 198.4 kB / 384.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.663e-05/0.2784, allocations: 73.83 kB / 384.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.2805, allocations: 0.7715 MB / 385.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2805, allocations: 7.188 kB / 385.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.2805, allocations: 4 kB / 385.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001922/0.2824, allocations: 1.033 MB / 386.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.2853, allocations: 1.508 MB / 388 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2853, allocations: 3.938 kB / 388 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006928/0.286, allocations: 135.9 kB / 388.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007825/0.2868, allocations: 170.3 kB / 388.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.2868, allocations: 13.61 kB / 388.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004127/0.291, allocations: 3.801 MB / 392.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.291, allocations: 0 / 392.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.2935, allocations: 1.076 MB / 393.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/0.2938, allocations: 209.6 kB / 393.4 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.429e-05/0.2938, allocations: 17.11 kB / 393.4 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/0.2943, allocations: 32.78 kB / 393.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.2945, allocations: 53.31 kB / 393.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.2945, allocations: 20.72 kB / 393.5 MB, free: 5.055 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004184/0.2949, allocations: 382.5 kB / 393.8 MB, free: 4.879 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2949, allocations: 5.281 kB / 393.9 MB, free: 4.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007158/0.2956, allocations: 218.3 kB / 394.1 MB, free: 4.844 MB / 302.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.002652/0.2983, allocations: 1.624 MB / 395.7 MB, free: 3.824 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.3004, allocations: 1.053 MB / 396.7 MB, free: 3.102 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3004, allocations: 1.188 kB / 396.7 MB, free: 3.102 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008219/0.3012, allocations: 0.5341 MB / 397.3 MB, free: 2.719 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007297/0.302, allocations: 191 kB / 397.5 MB, free: 2.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009029/0.311, allocations: 6.528 MB / 404 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.3115, allocations: 0.8851 MB / 404.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004579/0.312, allocations: 84.45 kB / 405 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.3123, allocations: 228.2 kB / 405.2 MB, free: 13.39 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3123, allocations: 0 / 405.2 MB, free: 13.39 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.603/1.915, allocations: 19.57 MB / 424.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/1.916, allocations: 232.7 kB / 425 MB, free: 10.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/4.671, allocations: 3.5 kB / 425 MB, free: 10.09 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches