Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001523/0.001523, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 197.2 kB / 18.73 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.332/1.332, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2124/0.2124, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 76.06 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3653, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002839/0.3682, allocations: 1.683 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3695, allocations: 0.8339 MB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.3696, allocations: 0 / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.3698, allocations: 39.45 kB / 0.533 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.37, allocations: 50.95 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.3703, allocations: 92.23 kB / 0.5332 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.3705, allocations: 151.1 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.617e-05/0.3706, allocations: 30.94 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.3708, allocations: 64.2 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3709, allocations: 68.44 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3709, allocations: 5.375 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002915/0.3712, allocations: 163.7 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.3713, allocations: 37.53 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.09e-05/0.3714, allocations: 64.42 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.3717, allocations: 213.3 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3717, allocations: 1.375 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3717, allocations: 0 / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3717, allocations: 0 / 0.5339 GB, free: 10.88 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006067/0.3724, allocations: 452.7 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3724, allocations: 9.625 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.554e-05/0.3725, allocations: 60.2 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004939/0.373, allocations: 71.06 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.3732, allocations: 216.7 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3732, allocations: 9.875 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.3732, allocations: 12.19 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004243/0.3737, allocations: 238.9 kB / 0.535 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3737, allocations: 0 / 0.535 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.3737, allocations: 5.094 kB / 0.535 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/0.3738, allocations: 17.86 kB / 0.535 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.3742, allocations: 225.2 kB / 0.5352 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.3753, allocations: 0.7338 MB / 0.5359 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.3755, allocations: 82.77 kB / 0.536 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3756, allocations: 56.75 kB / 0.536 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.3756, allocations: 1.438 kB / 0.536 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3756, allocations: 39.94 kB / 0.5361 GB, free: 9.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3757, allocations: 3.938 kB / 0.5361 GB, free: 9.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004771/0.3761, allocations: 160.9 kB / 0.5362 GB, free: 8.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.3762, allocations: 52.59 kB / 0.5363 GB, free: 8.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.3764, allocations: 194.2 kB / 0.5365 GB, free: 8.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3764, allocations: 27.05 kB / 0.5365 GB, free: 8.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.3765, allocations: 139.5 kB / 0.5366 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.3765, allocations: 23.83 kB / 0.5367 GB, free: 8.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.3766, allocations: 37.64 kB / 0.5367 GB, free: 8.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3767, allocations: 325.3 kB / 0.537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3768, allocations: 43.48 kB / 0.537 GB, free: 8.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.377, allocations: 103.6 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.3775, allocations: 156.7 kB / 0.5373 GB, free: 7.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.3775, allocations: 1.094 kB / 0.5373 GB, free: 7.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005166/0.378, allocations: 190.8 kB / 0.5375 GB, free: 7.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3781, allocations: 5.75 kB / 0.5375 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3781, allocations: 2.438 kB / 0.5375 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3781, allocations: 2.656 kB / 0.5375 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000949/0.379, allocations: 130.9 kB / 0.5376 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.3804, allocations: 1.812 MB / 0.5394 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.3805, allocations: 22.08 kB / 0.5394 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.3806, allocations: 4.812 kB / 0.5394 GB, free: 5.988 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 (14): * Single equations (assignments): 11 * 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.0001483/0.3807, allocations: 146.1 kB / 0.5395 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.3808, allocations: 9.375 kB / 0.5395 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.3812, allocations: 192.7 kB / 0.5397 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3812, allocations: 1.375 kB / 0.5397 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3813, allocations: 5.438 kB / 0.5397 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3813, allocations: 3.984 kB / 0.5397 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.3815, allocations: 228.4 kB / 0.54 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3816, allocations: 0 / 0.54 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007101/0.3823, allocations: 109.4 kB / 0.5401 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3823, allocations: 1.062 kB / 0.5401 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3823, allocations: 5.125 kB / 0.5401 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.3834, allocations: 1.783 MB / 0.5418 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3834, allocations: 4.062 kB / 0.5418 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.3837, allocations: 239.9 kB / 0.542 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.3838, allocations: 89.14 kB / 0.5421 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.3838, allocations: 1.344 kB / 0.5421 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.384, allocations: 10.11 kB / 0.5421 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.384, allocations: 14.95 kB / 0.5422 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.384, allocations: 6.562 kB / 0.5422 GB, free: 3.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.3842, allocations: 138.9 kB / 0.5423 GB, free: 3.219 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3842, allocations: 0 / 0.5423 GB, free: 3.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003091/0.3845, allocations: 51.83 kB / 0.5423 GB, free: 3.203 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 (11): * Single equations (assignments): 8 * 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.0007996/0.3853, allocations: 0.7829 MB / 0.5431 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.3865, allocations: 232.8 kB / 0.5433 GB, free: 2.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3865, allocations: 0 / 0.5433 GB, free: 2.395 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006342/0.3871, allocations: 127 kB / 0.5435 GB, free: 2.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.3876, allocations: 40.44 kB / 0.5435 GB, free: 2.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.3902, allocations: 2.088 MB / 0.5455 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3905, allocations: 0.7355 MB / 0.5462 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.3907, allocations: 40.41 kB / 0.5463 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.3908, allocations: 43.02 kB / 0.5463 GB, free: 15.84 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3908, allocations: 0 / 0.5463 GB, free: 15.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.4157, allocations: 5.15 MB / 0.5514 GB, free: 11.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.29, allocations: 17.75 kB / 0.5514 GB, free: 11.95 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches