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.00119/0.00119, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001676, allocations: 67.88 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2503, allocations: 50.54 MB / 408.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00562/0.256, allocations: 4.382 MB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.2583, allocations: 1.254 MB / 414.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000267/0.2586, allocations: 8 kB / 414.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.259, allocations: 130.8 kB / 414.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005136/0.2595, allocations: 265.7 kB / 414.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.26, allocations: 195.7 kB / 415 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009478/0.2609, allocations: 0.9258 MB / 416 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.2613, allocations: 248.5 kB / 416.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004713/0.2618, allocations: 370.7 kB / 416.6 MB, free: 9.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004617/0.2623, allocations: 406.3 kB / 417 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.2624, allocations: 76 kB / 417 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.2626, allocations: 80 kB / 417.1 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.2627, allocations: 171.4 kB / 417.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003921/0.2631, allocations: 422 kB / 417.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009705/0.2641, allocations: 0.9173 MB / 418.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2641, allocations: 0 / 418.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2641, allocations: 0 / 418.6 MB, free: 7.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.2641, allocations: 3.938 kB / 418.6 MB, free: 7.637 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.002006/0.2662, allocations: 1.14 MB / 419.8 MB, free: 6.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2662, allocations: 15.97 kB / 419.8 MB, free: 6.418 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.2663, allocations: 87.7 kB / 419.9 MB, free: 6.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.2666, allocations: 92.42 kB / 420 MB, free: 6.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007281/0.2673, allocations: 497 kB / 420.4 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.2675, allocations: 112.8 kB / 420.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.11e-05/0.2676, allocations: 48.38 kB / 420.6 MB, free: 5.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.2687, allocations: 0.6553 MB / 421.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.2688, allocations: 0 / 421.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.2688, allocations: 20 kB / 421.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2688, allocations: 12 kB / 421.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2699, allocations: 455.7 kB / 421.7 MB, free: 4.332 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.003104/0.273, allocations: 1.968 MB / 423.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.275, allocations: 0.6823 MB / 424.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006026/0.2756, allocations: 270 kB / 424.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.2757, allocations: 12.42 kB / 424.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.2757, allocations: 43.56 kB / 424.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 1.783e-06/0.2757, allocations: 4 kB / 424.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=54): time 0.005022/0.2808, allocations: 1.484 MB / 426.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003037/0.2811, allocations: 0.5605 MB / 426.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.2818, allocations: 0.5343 MB / 427.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/0.2818, allocations: 41.7 kB / 427.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.2821, allocations: 293.1 kB / 427.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.2823, allocations: 198.2 kB / 427.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.2825, allocations: 118.2 kB / 427.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.2827, allocations: 370.7 kB / 428.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/0.2832, allocations: 197 kB / 428.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007638/0.284, allocations: 412.4 kB / 428.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.2851, allocations: 492.6 kB / 429.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2851, allocations: 0 / 429.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002345/0.2875, allocations: 0.811 MB / 430.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.2875, allocations: 33.7 kB / 430.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2875, allocations: 0 / 430.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009851/0.2885, allocations: 230.3 kB / 430.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006949/0.2892, allocations: 127.8 kB / 430.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007871/0.2971, allocations: 5.612 MB / 436.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.2979, allocations: 71.69 kB / 436.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/0.2979, allocations: 20 kB / 436.2 MB, free: 4.84 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.0003073/0.2983, allocations: 197.7 kB / 436.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.2984, allocations: 79.52 kB / 436.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.3007, allocations: 0.7695 MB / 437.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.3007, allocations: 7.938 kB / 437.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3007, allocations: 4 kB / 437.3 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002255/0.303, allocations: 1.039 MB / 438.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.3063, allocations: 1.502 MB / 439.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3063, allocations: 4 kB / 439.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007468/0.307, allocations: 131.8 kB / 440 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008286/0.3079, allocations: 185.6 kB / 440.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.3079, allocations: 15.98 kB / 440.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005405/0.3133, allocations: 3.791 MB / 444 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.3134, allocations: 11.95 kB / 444 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.3162, allocations: 1.067 MB / 445 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/0.3166, allocations: 212.5 kB / 445.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/0.3167, allocations: 12 kB / 445.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004952/0.3172, allocations: 39.89 kB / 445.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.3174, allocations: 44.5 kB / 445.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/0.3174, allocations: 12.23 kB / 445.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000482/0.3179, allocations: 390.8 kB / 445.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3179, allocations: 0 / 445.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007357/0.3186, allocations: 223.8 kB / 446 MB, free: 10.6 MB / 366.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.003235/0.3219, allocations: 1.63 MB / 447.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.3243, allocations: 1.042 MB / 448.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3243, allocations: 0 / 448.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.3254, allocations: 0.5432 MB / 449.2 MB, free: 7.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008579/0.3262, allocations: 182.8 kB / 449.3 MB, free: 7.098 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.3372, allocations: 6.051 MB / 455.4 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.3377, allocations: 0.8917 MB / 456.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000359/0.3381, allocations: 77.12 kB / 456.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.3384, allocations: 239.3 kB / 456.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3385, allocations: 0 / 456.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07439/0.4128, allocations: 20.17 MB / 476.8 MB, free: 11.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.44, allocations: 11.92 kB / 476.8 MB, free: 11.84 MB / 398.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.1.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