Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 117.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 203.8 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2162/0.2162, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 79.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3728, allocations: 62.44 MB / 0.5305 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003042/0.3759, allocations: 1.674 MB / 0.5322 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.3775, allocations: 0.9037 MB / 0.5331 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.3775, allocations: 2.375 kB / 0.5331 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.3778, allocations: 33.17 kB / 0.5331 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.378, allocations: 45.41 kB / 0.5331 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.3784, allocations: 139.9 kB / 0.5333 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.3786, allocations: 133.2 kB / 0.5334 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.722e-05/0.3787, allocations: 19.06 kB / 0.5334 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.029e-05/0.3788, allocations: 61.83 kB / 0.5335 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.3789, allocations: 67.19 kB / 0.5335 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.3789, allocations: 8.125 kB / 0.5335 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.3793, allocations: 214.4 kB / 0.5337 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.159e-05/0.3794, allocations: 37.59 kB / 0.5338 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.268e-05/0.3795, allocations: 61.45 kB / 0.5338 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003938/0.3799, allocations: 244.5 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3799, allocations: 0 / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3799, allocations: 0 / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3799, allocations: 1.219 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007004/0.3806, allocations: 481 kB / 0.5345 GB, free: 10.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3807, allocations: 9.594 kB / 0.5345 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.868e-05/0.3807, allocations: 53.28 kB / 0.5346 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.3819, allocations: 108.3 kB / 0.5347 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.3822, allocations: 226.2 kB / 0.5349 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3822, allocations: 14.11 kB / 0.5349 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.513e-05/0.3822, allocations: 13 kB / 0.5349 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006766/0.3829, allocations: 313.9 kB / 0.5352 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3829, allocations: 3.938 kB / 0.5352 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.383, allocations: 13.45 kB / 0.5352 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.383, allocations: 19.86 kB / 0.5353 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007677/0.3838, allocations: 325 kB / 0.5356 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.3853, allocations: 0.8308 MB / 0.5364 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007068/0.3861, allocations: 225.8 kB / 0.5366 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.3863, allocations: 84.34 kB / 0.5367 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3864, allocations: 2.344 kB / 0.5367 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.3864, allocations: 35.67 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.3864, allocations: 3.938 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001014/0.3874, allocations: 291.5 kB / 0.537 GB, free: 8.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.3875, allocations: 53.31 kB / 0.5371 GB, free: 8.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.3877, allocations: 193.8 kB / 0.5372 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.3877, allocations: 27.02 kB / 0.5373 GB, free: 8.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.3878, allocations: 139.8 kB / 0.5374 GB, free: 8.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.3879, allocations: 37.5 kB / 0.5374 GB, free: 8.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.388, allocations: 49.89 kB / 0.5375 GB, free: 8.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3881, allocations: 331.2 kB / 0.5378 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.3884, allocations: 78.12 kB / 0.5379 GB, free: 7.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.3888, allocations: 139.5 kB / 0.538 GB, free: 7.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006036/0.3894, allocations: 223.1 kB / 0.5382 GB, free: 7.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3894, allocations: 1.25 kB / 0.5382 GB, free: 7.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000763/0.3902, allocations: 273.5 kB / 0.5385 GB, free: 7.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3902, allocations: 5.781 kB / 0.5385 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3902, allocations: 6.438 kB / 0.5385 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3903, allocations: 6.469 kB / 0.5385 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.3907, allocations: 82.27 kB / 0.5386 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.3918, allocations: 1.788 MB / 0.5403 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.392, allocations: 24.83 kB / 0.5403 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.392, allocations: 12.33 kB / 0.5404 GB, free: 5.641 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.3922, allocations: 145.2 kB / 0.5405 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.3922, allocations: 17.12 kB / 0.5405 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007928/0.393, allocations: 269.6 kB / 0.5408 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3931, allocations: 1.188 kB / 0.5408 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.3931, allocations: 5.031 kB / 0.5408 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3931, allocations: 3.984 kB / 0.5408 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.3934, allocations: 245.2 kB / 0.541 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3934, allocations: 0 / 0.541 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.3938, allocations: 80.77 kB / 0.5411 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3938, allocations: 0 / 0.5411 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.3938, allocations: 10.73 kB / 0.5411 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.3949, allocations: 1.783 MB / 0.5428 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.395, allocations: 5.625 kB / 0.5428 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.3957, allocations: 317.3 kB / 0.5431 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.3957, allocations: 85.67 kB / 0.5432 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.3958, allocations: 1.188 kB / 0.5432 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.396, allocations: 15.36 kB / 0.5432 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.3961, allocations: 13.12 kB / 0.5433 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.3961, allocations: 8.609 kB / 0.5433 GB, free: 2.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.3962, allocations: 146.9 kB / 0.5434 GB, free: 2.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3962, allocations: 0 / 0.5434 GB, free: 2.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003865/0.3966, allocations: 62.5 kB / 0.5435 GB, free: 2.758 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001093/0.3977, allocations: 0.8726 MB / 0.5443 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007982/0.3985, allocations: 234.1 kB / 0.5445 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3985, allocations: 0 / 0.5445 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004463/0.399, allocations: 135.6 kB / 0.5447 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.3993, allocations: 8.688 kB / 0.5447 GB, free: 1.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.4028, allocations: 2.334 MB / 0.547 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.4032, allocations: 0.737 MB / 0.5477 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.4034, allocations: 64.64 kB / 0.5477 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.4035, allocations: 57.94 kB / 0.5478 GB, free: 15.2 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4035, allocations: 0 / 0.5478 GB, free: 15.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.4265, allocations: 4.955 MB / 0.5526 GB, free: 10.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.66, allocations: 11.62 kB / 0.5526 GB, free: 10.82 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches