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.001137/0.001137, allocations: 110.5 kB / 17.73 MB, free: 5.355 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.001117/0.001117, allocations: 187.1 kB / 18.66 MB, free: 4.434 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.251/1.251, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001113/0.001113, allocations: 55.92 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07646/0.07758, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005107/0.08273, allocations: 4.365 MB / 379 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1586/0.2414, allocations: 1.251 MB / 380.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005635/0.242, allocations: 9.781 kB / 380.3 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005049/0.2425, allocations: 135.4 kB / 380.4 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000843/0.2434, allocations: 264.8 kB / 380.6 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.244, allocations: 198.5 kB / 380.8 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.2452, allocations: 0.923 MB / 381.8 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.2456, allocations: 246.4 kB / 382 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000689/0.2462, allocations: 377.9 kB / 382.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007094/0.247, allocations: 401.5 kB / 382.8 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002586/0.2472, allocations: 76.88 kB / 382.8 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.2476, allocations: 78.41 kB / 382.9 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.2477, allocations: 175 kB / 383.1 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006748/0.2484, allocations: 409.7 kB / 383.5 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.2496, allocations: 0.9252 MB / 384.4 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2496, allocations: 0 / 384.4 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2496, allocations: 0 / 384.4 MB, free: 8.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.922e-05/0.2497, allocations: 1.125 kB / 384.4 MB, free: 8.281 MB / 318.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.002053/0.2517, allocations: 1.112 MB / 385.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2518, allocations: 8.906 kB / 385.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.2519, allocations: 97.75 kB / 385.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.252, allocations: 87.97 kB / 385.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006313/0.2527, allocations: 481 kB / 386.2 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.2528, allocations: 97.45 kB / 386.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.258e-05/0.2529, allocations: 52.59 kB / 386.3 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.2539, allocations: 0.6513 MB / 387 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.254, allocations: 4.906 kB / 387 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.254, allocations: 22.62 kB / 387 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.2541, allocations: 11.69 kB / 387 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009389/0.255, allocations: 457.5 kB / 387.5 MB, free: 6.359 MB / 318.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.002637/0.2576, allocations: 1.968 MB / 389.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.2594, allocations: 0.679 MB / 390.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.2599, allocations: 272.5 kB / 390.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.069e-05/0.2599, allocations: 6.938 kB / 390.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.2599, allocations: 47.53 kB / 390.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=54): time 1.663e-06/0.2599, allocations: 0 / 390.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.004516/0.2645, allocations: 1.472 MB / 391.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/0.2646, allocations: 0.5746 MB / 392.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005486/0.2651, allocations: 0.539 MB / 393 MB, free: 3.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.2652, allocations: 39.77 kB / 393.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.2653, allocations: 290.3 kB / 393.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.2655, allocations: 191.5 kB / 393.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.2656, allocations: 109.3 kB / 393.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.2657, allocations: 377.1 kB / 394 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/0.2662, allocations: 195.8 kB / 394.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/0.2668, allocations: 424.1 kB / 394.6 MB, free: 1.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009218/0.2677, allocations: 488.8 kB / 395.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2677, allocations: 1.281 kB / 395.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002117/0.2698, allocations: 0.8089 MB / 395.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.2699, allocations: 32.12 kB / 395.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2699, allocations: 2 kB / 395.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009411/0.2708, allocations: 226.1 kB / 396.2 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/0.2715, allocations: 131.9 kB / 396.3 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007015/0.2785, allocations: 5.602 MB / 401.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007572/0.2793, allocations: 79.98 kB / 402 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.2794, allocations: 22.39 kB / 402 MB, free: 12.23 MB / 334.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.0004128/0.2798, allocations: 194.3 kB / 402.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.28, allocations: 68.91 kB / 402.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003432/0.2835, allocations: 0.7836 MB / 403 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.2835, allocations: 9.438 kB / 403 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2835, allocations: 0 / 403 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002863/0.2864, allocations: 1.043 MB / 404.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005403/0.2918, allocations: 1.5 MB / 405.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.2918, allocations: 0 / 405.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.293, allocations: 130.1 kB / 405.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.2943, allocations: 173.3 kB / 405.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-05/0.2944, allocations: 23.23 kB / 405.9 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007904/0.3023, allocations: 3.798 MB / 409.7 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.3024, allocations: 3.938 kB / 409.7 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00451/0.3069, allocations: 1.057 MB / 410.8 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006228/0.3076, allocations: 210 kB / 411 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.3078, allocations: 13.84 kB / 411 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009073/0.3087, allocations: 45.23 kB / 411 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.3089, allocations: 43.34 kB / 411.1 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.309, allocations: 13.91 kB / 411.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008319/0.3098, allocations: 386.1 kB / 411.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3098, allocations: 0 / 411.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001058/0.3109, allocations: 218.8 kB / 411.7 MB, free: 5.344 MB / 334.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.003325/0.3142, allocations: 1.629 MB / 413.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002368/0.3166, allocations: 1.04 MB / 414.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3166, allocations: 6.188 kB / 414.3 MB, free: 3.449 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009607/0.3176, allocations: 0.5239 MB / 414.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.3187, allocations: 196.7 kB / 415.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.3296, allocations: 6.034 MB / 421.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.3301, allocations: 0.8879 MB / 422 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003615/0.3304, allocations: 81.12 kB / 422.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.3307, allocations: 227.4 kB / 422.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3307, allocations: 0 / 422.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05004/0.3808, allocations: 20.69 MB / 443 MB, free: 8.512 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.75, allocations: 8.062 kB / 443 MB, free: 8.504 MB / 366.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