Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_4_0_0_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.001323/0.001323, allocations: 115.1 kB / 17.07 MB, free: 5.969 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.001362/0.001362, allocations: 198.9 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 47.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2904, allocations: 49.44 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005464/0.2959, allocations: 4.368 MB / 404.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.2981, allocations: 1.211 MB / 405.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002956/0.2985, allocations: 11.94 kB / 405.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003879/0.2988, allocations: 134.8 kB / 406 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005945/0.2995, allocations: 261.8 kB / 406.2 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.2999, allocations: 195.7 kB / 406.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009489/0.3009, allocations: 0.9297 MB / 407.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004007/0.3013, allocations: 246.2 kB / 407.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005022/0.3018, allocations: 370.7 kB / 407.9 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000459/0.3023, allocations: 398.3 kB / 408.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.3024, allocations: 79.94 kB / 408.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.3025, allocations: 76 kB / 408.5 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.3027, allocations: 171.4 kB / 408.6 MB, free: 380 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.3031, allocations: 422.2 kB / 409.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008903/0.3039, allocations: 0.9147 MB / 410 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.304, allocations: 4 kB / 410 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.304, allocations: 4 kB / 410 MB, free: 15.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.304, allocations: 0 / 410 MB, free: 15.03 MB / 334.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.002242/0.3062, allocations: 1.105 MB / 411.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.3063, allocations: 11.97 kB / 411.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.3065, allocations: 95.61 kB / 411.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.3067, allocations: 88 kB / 411.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.3076, allocations: 484.7 kB / 411.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.3078, allocations: 108.9 kB / 411.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-05/0.3079, allocations: 52.28 kB / 411.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.3091, allocations: 0.6553 MB / 412.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.3092, allocations: 0 / 412.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/0.3092, allocations: 24 kB / 412.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.3092, allocations: 8 kB / 412.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.3104, allocations: 455.7 kB / 413 MB, free: 11.77 MB / 334.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.003116/0.3135, allocations: 1.975 MB / 415 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.3156, allocations: 0.6754 MB / 415.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005774/0.3162, allocations: 262 kB / 415.9 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/0.3162, allocations: 12.42 kB / 416 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3163, allocations: 47.56 kB / 416 MB, free: 8.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 3.858e-06/0.3163, allocations: 4 kB / 416 MB, free: 8.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.004847/0.3211, allocations: 1.476 MB / 417.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00026/0.3214, allocations: 0.5722 MB / 418 MB, free: 6.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006143/0.322, allocations: 0.5342 MB / 418.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.25e-05/0.3221, allocations: 49.64 kB / 418.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.3223, allocations: 276.9 kB / 418.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.3225, allocations: 193.2 kB / 419.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.3227, allocations: 114.1 kB / 419.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3228, allocations: 370.7 kB / 419.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/0.3233, allocations: 204.9 kB / 419.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00067/0.324, allocations: 404.4 kB / 420.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.3251, allocations: 492.5 kB / 420.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.3251, allocations: 4 kB / 420.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002238/0.3273, allocations: 0.8029 MB / 421.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.3274, allocations: 41.62 kB / 421.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3274, allocations: 0 / 421.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009738/0.3284, allocations: 222.4 kB / 421.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/0.3291, allocations: 127.8 kB / 421.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007246/0.3363, allocations: 5.603 MB / 427.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007023/0.3371, allocations: 75.48 kB / 427.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.3371, allocations: 23.98 kB / 427.5 MB, free: 12.3 MB / 350.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.0002928/0.3374, allocations: 197.7 kB / 427.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.3375, allocations: 71.16 kB / 427.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/0.3398, allocations: 0.7774 MB / 428.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.3398, allocations: 7.938 kB / 428.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3398, allocations: 8.172 kB / 428.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002128/0.342, allocations: 1.035 MB / 429.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.3452, allocations: 1.509 MB / 431.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3452, allocations: 0 / 431.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007411/0.3459, allocations: 127.8 kB / 431.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008255/0.3468, allocations: 173.5 kB / 431.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.3468, allocations: 15.98 kB / 431.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004984/0.3518, allocations: 3.791 MB / 435.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3518, allocations: 7.969 kB / 435.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/0.3546, allocations: 1.063 MB / 436.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.3549, allocations: 204.1 kB / 436.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.355, allocations: 12 kB / 436.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/0.3555, allocations: 35.91 kB / 436.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3556, allocations: 44.5 kB / 436.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.3557, allocations: 19.98 kB / 436.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004527/0.3561, allocations: 386.8 kB / 437 MB, free: 2.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3561, allocations: 0 / 437 MB, free: 2.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007424/0.3569, allocations: 223.7 kB / 437.2 MB, free: 2.086 MB / 350.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.003086/0.36, allocations: 1.622 MB / 438.8 MB, free: 436 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.3623, allocations: 1.038 MB / 439.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.3623, allocations: 4.188 kB / 439.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009768/0.3633, allocations: 0.5434 MB / 440.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008038/0.3641, allocations: 182.6 kB / 440.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.3742, allocations: 6.039 MB / 446.6 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.3747, allocations: 0.8917 MB / 447.5 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003536/0.3751, allocations: 89.11 kB / 447.6 MB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.3754, allocations: 227.4 kB / 447.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3754, allocations: 0 / 447.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0517/0.4271, allocations: 20.68 MB / 468.5 MB, free: 2.855 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.15, allocations: 8 kB / 468.5 MB, free: 2.848 MB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches