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.001189/0.001189, allocations: 107.3 kB / 17.06 MB, free: 6.016 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.001132/0.001132, allocations: 192 kB / 18 MB, free: 5.098 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.458/1.458, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 51.91 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2752, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006503/0.2818, allocations: 4.364 MB / 404.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002947/0.2848, allocations: 1.211 MB / 405.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006257/0.2854, allocations: 11.94 kB / 405.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005903/0.2861, allocations: 130.8 kB / 405.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009927/0.2871, allocations: 261.8 kB / 406.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006554/0.2878, allocations: 191.7 kB / 406.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.2892, allocations: 0.9258 MB / 407.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004754/0.2897, allocations: 254.2 kB / 407.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006839/0.2904, allocations: 370.7 kB / 407.9 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006851/0.2911, allocations: 406.3 kB / 408.3 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.2913, allocations: 76 kB / 408.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.2916, allocations: 76 kB / 408.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.2918, allocations: 171.4 kB / 408.6 MB, free: 388 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005661/0.2923, allocations: 418.2 kB / 409 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.2935, allocations: 0.9147 MB / 410 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.2935, allocations: 4 kB / 410 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2935, allocations: 0 / 410 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.801e-05/0.2935, allocations: 0 / 410 MB, free: 15.05 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.002577/0.2961, allocations: 1.121 MB / 411.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2962, allocations: 8.031 kB / 411.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002042/0.2964, allocations: 99.61 kB / 411.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.2966, allocations: 84 kB / 411.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.2976, allocations: 488.6 kB / 411.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.2978, allocations: 101 kB / 411.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.2979, allocations: 48.28 kB / 411.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.2993, allocations: 0.6609 MB / 412.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.2994, allocations: 0 / 412.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.147e-05/0.2995, allocations: 20 kB / 412.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.2995, allocations: 15.98 kB / 412.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.3006, allocations: 447.7 kB / 413 MB, free: 11.78 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.003865/0.3045, allocations: 1.979 MB / 415 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.3066, allocations: 0.6715 MB / 415.7 MB, free: 8.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005916/0.3072, allocations: 262 kB / 415.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.776e-05/0.3072, allocations: 16.42 kB / 415.9 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.3073, allocations: 39.56 kB / 416 MB, free: 8.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.444e-06/0.3073, allocations: 4 kB / 416 MB, free: 8.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.005335/0.3126, allocations: 1.483 MB / 417.5 MB, free: 7.094 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003272/0.313, allocations: 0.5643 MB / 418 MB, free: 6.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007675/0.3138, allocations: 0.5381 MB / 418.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.977e-05/0.3139, allocations: 41.7 kB / 418.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.3142, allocations: 292.8 kB / 418.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.3144, allocations: 189.2 kB / 419.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.3146, allocations: 110.2 kB / 419.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3148, allocations: 374.7 kB / 419.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/0.3153, allocations: 196.9 kB / 419.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/0.3161, allocations: 412.4 kB / 420.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.3172, allocations: 488.5 kB / 420.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3172, allocations: 0 / 420.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002412/0.3196, allocations: 0.8107 MB / 421.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.3197, allocations: 33.7 kB / 421.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3197, allocations: 0 / 421.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.3208, allocations: 222.4 kB / 421.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.3215, allocations: 131.8 kB / 421.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008123/0.3297, allocations: 5.613 MB / 427.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007499/0.3305, allocations: 75.48 kB / 427.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/0.3306, 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.0003749/0.3309, allocations: 193.7 kB / 427.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.3311, allocations: 71.16 kB / 427.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.3336, allocations: 0.7734 MB / 428.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.3336, allocations: 7.938 kB / 428.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.3336, allocations: 4 kB / 428.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002225/0.3358, allocations: 1.035 MB / 429.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.3393, allocations: 1.501 MB / 431.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3393, allocations: 4 kB / 431.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007871/0.3401, allocations: 127.8 kB / 431.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000897/0.341, allocations: 185.7 kB / 431.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.3411, allocations: 8 kB / 431.4 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005629/0.3467, allocations: 3.791 MB / 435.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3468, allocations: 7.969 kB / 435.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003038/0.3498, allocations: 1.075 MB / 436.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.3503, allocations: 200.2 kB / 436.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.3505, allocations: 16 kB / 436.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005533/0.351, allocations: 35.91 kB / 436.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.3512, allocations: 44.5 kB / 436.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.3512, allocations: 11.98 kB / 436.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005279/0.3518, allocations: 386.8 kB / 437 MB, free: 2.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.3518, allocations: 0 / 437 MB, free: 2.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000882/0.3527, allocations: 235.6 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.003322/0.356, allocations: 1.619 MB / 438.8 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002516/0.3585, allocations: 1.034 MB / 439.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.3586, allocations: 4 kB / 439.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.3596, allocations: 0.5432 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.001051/0.3607, allocations: 186.7 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.01176/0.3724, allocations: 6.031 MB / 446.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/0.373, allocations: 0.8918 MB / 447.5 MB, free: 7.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003962/0.3734, allocations: 77.14 kB / 447.6 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/0.3738, allocations: 231.4 kB / 447.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3738, allocations: 0 / 447.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05515/0.429, allocations: 20.7 MB / 468.5 MB, free: 2.855 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.05, allocations: 0 / 468.5 MB, free: 2.855 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