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.001618/0.001618, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002072/0.002072, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 62.66 kB / 307 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1466, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.007814/0.1545, allocations: 4.377 MB / 362 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003691/0.1582, allocations: 1.25 MB / 363.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008942/0.1592, allocations: 8 kB / 363.2 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006862/0.1599, allocations: 134.8 kB / 363.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.1613, allocations: 261.8 kB / 363.6 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008754/0.1622, allocations: 195.7 kB / 363.8 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0019/0.1641, allocations: 0.9298 MB / 364.7 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007418/0.1649, allocations: 244.8 kB / 365 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.166, allocations: 362.7 kB / 365.3 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009263/0.1669, allocations: 402.3 kB / 365.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000282/0.1673, allocations: 76 kB / 365.8 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/0.1677, allocations: 80 kB / 365.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.1679, allocations: 175.4 kB / 366 MB, free: 5.527 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009455/0.1688, allocations: 418 kB / 366.4 MB, free: 5.117 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.1702, allocations: 0.911 MB / 367.4 MB, free: 4.203 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1702, allocations: 0 / 367.4 MB, free: 4.203 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1702, allocations: 3.938 kB / 367.4 MB, free: 4.199 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.981e-05/0.1702, allocations: 7.984 kB / 367.4 MB, free: 4.191 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.00347/0.1737, allocations: 1.101 MB / 368.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1738, allocations: 12.03 kB / 368.5 MB, free: 3.012 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.1739, allocations: 95.61 kB / 368.6 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/0.1744, allocations: 92 kB / 368.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/0.1753, allocations: 488.5 kB / 369.1 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/0.1756, allocations: 96.95 kB / 369.2 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.532e-05/0.1757, allocations: 48.38 kB / 369.3 MB, free: 2.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.1774, allocations: 0.6553 MB / 369.9 MB, free: 1.414 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.1774, allocations: 7.938 kB / 369.9 MB, free: 1.406 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/0.1775, allocations: 24 kB / 370 MB, free: 1.383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.1775, allocations: 12 kB / 370 MB, free: 1.371 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.1789, allocations: 447.7 kB / 370.4 MB, free: 0.9375 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.2608/0.4397, allocations: 1.961 MB / 372.4 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.4421, allocations: 0.6855 MB / 373.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006828/0.4428, allocations: 270.2 kB / 373.3 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.4428, allocations: 16.16 kB / 373.3 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.4429, allocations: 40.28 kB / 373.4 MB, free: 19.24 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.424e-06/0.4429, allocations: 0 / 373.4 MB, free: 19.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005999/0.4489, allocations: 1.485 MB / 374.9 MB, free: 18.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002901/0.4492, allocations: 0.5638 MB / 375.4 MB, free: 17.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008641/0.4501, allocations: 0.539 MB / 376 MB, free: 17.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.4502, allocations: 39.2 kB / 376 MB, free: 17.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.4506, allocations: 284.9 kB / 376.3 MB, free: 17.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.4507, allocations: 191 kB / 376.5 MB, free: 17.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.4509, allocations: 116 kB / 376.6 MB, free: 17.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.451, allocations: 372.1 kB / 376.9 MB, free: 16.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007271/0.4518, allocations: 199.3 kB / 377.1 MB, free: 16.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008325/0.4526, allocations: 409.8 kB / 377.5 MB, free: 16.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.4543, allocations: 494 kB / 378 MB, free: 16.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4543, allocations: 1.125 kB / 378 MB, free: 16.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00322/0.4575, allocations: 0.8057 MB / 378.8 MB, free: 16.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.394e-05/0.4577, allocations: 31.05 kB / 378.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.4577, allocations: 2.312 kB / 378.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.459, allocations: 221.8 kB / 379.1 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009611/0.46, allocations: 130.2 kB / 379.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009286/0.4694, allocations: 5.617 MB / 384.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008839/0.4703, allocations: 77.81 kB / 384.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.4704, allocations: 27.84 kB / 384.9 MB, free: 10.97 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.0004736/0.4709, allocations: 192.8 kB / 385.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.471, allocations: 68.88 kB / 385.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/0.474, allocations: 0.7729 MB / 386 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.4741, allocations: 5.688 kB / 386 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.4741, allocations: 1.734 kB / 386 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002849/0.4769, allocations: 1.049 MB / 387 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004291/0.4813, allocations: 1.505 MB / 388.5 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4813, allocations: 0 / 388.5 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009684/0.4823, allocations: 130.8 kB / 388.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001169/0.4835, allocations: 174.8 kB / 388.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001847/0.4837, allocations: 14.09 kB / 388.8 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006436/0.4902, allocations: 3.805 MB / 392.6 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.4902, allocations: 2.188 kB / 392.6 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/0.494, allocations: 1.068 MB / 393.7 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.4943, allocations: 206.9 kB / 393.9 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.714e-05/0.4944, allocations: 13.72 kB / 393.9 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006506/0.4951, allocations: 38.48 kB / 394 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.4954, allocations: 54.05 kB / 394 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.4954, allocations: 16.92 kB / 394 MB, free: 4.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006606/0.4961, allocations: 385.4 kB / 394.4 MB, free: 4.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4961, allocations: 0 / 394.4 MB, free: 4.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001394/0.4975, allocations: 215.7 kB / 394.6 MB, free: 4.688 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.003868/0.5014, allocations: 1.629 MB / 396.2 MB, free: 3.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0032/0.5047, allocations: 1.044 MB / 397.3 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.241e-05/0.5047, allocations: 1.094 kB / 397.3 MB, free: 2.855 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.5061, allocations: 0.5352 MB / 397.8 MB, free: 2.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.5073, allocations: 192.9 kB / 398 MB, free: 2.371 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.5205, allocations: 6.323 MB / 404.3 MB, free: 14.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007319/0.5213, allocations: 0.8923 MB / 405.2 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006404/0.5219, allocations: 84.31 kB / 405.3 MB, free: 13.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005101/0.5225, allocations: 230 kB / 405.5 MB, free: 13.31 MB / 318.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5225, allocations: 0 / 405.5 MB, free: 13.31 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06205/0.5845, allocations: 19.9 MB / 425.4 MB, free: 9.734 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.02, allocations: 11.84 kB / 425.4 MB, free: 9.723 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