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.001543/0.001544, allocations: 121.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001684/0.001685, allocations: 200.6 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, 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.2149/0.2149, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001602, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3543, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002687/0.357, allocations: 1.668 MB / 0.5322 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3584, allocations: 0.9045 MB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.3585, allocations: 1.375 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.3587, allocations: 32.02 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.3589, allocations: 54.73 kB / 0.5331 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.3593, allocations: 136 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.3595, allocations: 138.6 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.3595, allocations: 23.05 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.256e-05/0.3596, allocations: 56.81 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.3597, allocations: 70.67 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.3598, allocations: 4.438 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003541/0.3601, allocations: 206.8 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.3602, allocations: 45.86 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.364e-05/0.3603, allocations: 68.88 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.3606, allocations: 229.6 kB / 0.5341 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3606, allocations: 7.875 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3606, allocations: 1.312 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3607, allocations: 0 / 0.5341 GB, free: 10.77 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.0006051/0.3613, allocations: 477.7 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3613, allocations: 9.781 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.748e-05/0.3614, allocations: 53.64 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.3624, allocations: 117.1 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.3627, allocations: 230.3 kB / 0.5349 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3627, allocations: 5.281 kB / 0.5349 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.3627, allocations: 12.62 kB / 0.5349 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.3634, allocations: 318.4 kB / 0.5352 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3634, allocations: 1.375 kB / 0.5352 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.3634, allocations: 5.375 kB / 0.5353 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/0.3635, allocations: 23.11 kB / 0.5353 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007465/0.3642, allocations: 324.6 kB / 0.5356 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.3656, allocations: 0.8267 MB / 0.5364 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/0.3663, allocations: 225.7 kB / 0.5366 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.3666, allocations: 85.38 kB / 0.5367 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.3666, allocations: 13.27 kB / 0.5367 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3667, allocations: 31.81 kB / 0.5367 GB, free: 8.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.3667, allocations: 0 / 0.5367 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009876/0.3677, allocations: 304.1 kB / 0.537 GB, free: 8.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.3677, allocations: 52.41 kB / 0.5371 GB, free: 8.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3679, allocations: 187.1 kB / 0.5372 GB, free: 8.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.3679, allocations: 29.7 kB / 0.5373 GB, free: 8.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.368, allocations: 137.2 kB / 0.5374 GB, free: 8.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.3681, allocations: 40.86 kB / 0.5374 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/0.3681, allocations: 50.94 kB / 0.5375 GB, free: 8.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3683, allocations: 330.7 kB / 0.5378 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.3685, allocations: 86.05 kB / 0.5379 GB, free: 7.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.3689, allocations: 133.4 kB / 0.538 GB, free: 7.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/0.3695, allocations: 223.5 kB / 0.5382 GB, free: 7.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3695, allocations: 5.125 kB / 0.5382 GB, free: 7.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007019/0.3702, allocations: 261.4 kB / 0.5385 GB, free: 7.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3702, allocations: 10.09 kB / 0.5385 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3702, allocations: 5.438 kB / 0.5385 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3702, allocations: 3.281 kB / 0.5385 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.3707, allocations: 77.89 kB / 0.5386 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008551/0.3716, allocations: 1.789 MB / 0.5403 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.3718, allocations: 33.14 kB / 0.5404 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.3718, allocations: 19.86 kB / 0.5404 GB, free: 5.402 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.0001423/0.372, allocations: 138 kB / 0.5405 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.372, allocations: 17.5 kB / 0.5405 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007533/0.3728, allocations: 265.2 kB / 0.5408 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.3728, allocations: 2.062 kB / 0.5408 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3728, allocations: 0 / 0.5408 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3728, allocations: 0 / 0.5408 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.3731, allocations: 257.1 kB / 0.541 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3731, allocations: 0 / 0.541 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.3735, allocations: 88.2 kB / 0.5411 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3735, allocations: 1.156 kB / 0.5411 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.3735, allocations: 14.25 kB / 0.5411 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000805/0.3744, allocations: 1.78 MB / 0.5429 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3744, allocations: 3.984 kB / 0.5429 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/0.3751, allocations: 317.9 kB / 0.5432 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.3751, allocations: 85.03 kB / 0.5433 GB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.3752, allocations: 5.875 kB / 0.5433 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.3754, allocations: 7.766 kB / 0.5433 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.3754, allocations: 17.31 kB / 0.5433 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.3755, allocations: 13.89 kB / 0.5433 GB, free: 2.637 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.3756, allocations: 137.1 kB / 0.5434 GB, free: 2.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3756, allocations: 0 / 0.5434 GB, free: 2.535 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003783/0.376, allocations: 66.53 kB / 0.5435 GB, free: 2.516 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.001077/0.3771, allocations: 0.8695 MB / 0.5443 GB, free: 1.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008538/0.3779, allocations: 241.7 kB / 0.5446 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.378, allocations: 0 / 0.5446 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004856/0.3785, allocations: 131.1 kB / 0.5447 GB, free: 1.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.3788, allocations: 8.562 kB / 0.5447 GB, free: 1.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/0.3826, allocations: 2.353 MB / 0.547 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.383, allocations: 0.7327 MB / 0.5477 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002041/0.3832, allocations: 65.39 kB / 0.5478 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.3834, allocations: 54.11 kB / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3834, allocations: 0 / 0.5478 GB, free: 14.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.409, allocations: 4.869 MB / 0.5526 GB, free: 10.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.38, allocations: 10.38 kB / 0.5526 GB, free: 10.68 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 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.csv","/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