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.001336/0.001336, allocations: 117.6 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.001472/0.001472, allocations: 199.9 kB / 18.74 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.487/1.487, allocations: 227.4 MB / 247 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 79.86 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3614, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.00295/0.3644, allocations: 1.689 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.3658, allocations: 0.8354 MB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.3659, allocations: 2.594 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.3661, allocations: 42.05 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.3663, allocations: 50.98 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.3667, allocations: 101.1 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.3669, allocations: 163.8 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.3669, allocations: 18.48 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.3671, allocations: 67.33 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.3673, allocations: 69.94 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3673, allocations: 4.125 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.3676, allocations: 164.8 kB / 0.5338 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.105e-05/0.3677, allocations: 41.58 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.283e-05/0.3678, allocations: 56.38 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.3682, allocations: 210.6 kB / 0.5341 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3682, allocations: 1.094 kB / 0.5341 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3682, allocations: 0 / 0.5341 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3682, allocations: 0 / 0.5341 GB, free: 10.81 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.0006508/0.3688, allocations: 471.4 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3689, allocations: 10.59 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.369, allocations: 56.22 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004433/0.3695, allocations: 51.52 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3697, allocations: 217.2 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3697, allocations: 9.469 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.3698, allocations: 16.41 kB / 0.5349 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.3702, allocations: 235.6 kB / 0.5351 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3702, allocations: 1.062 kB / 0.5351 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.3703, allocations: 9.125 kB / 0.5351 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.3703, allocations: 17.73 kB / 0.5351 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.3708, allocations: 228.6 kB / 0.5353 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.3721, allocations: 0.7332 MB / 0.536 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.3723, allocations: 95.34 kB / 0.5361 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.3724, allocations: 40.83 kB / 0.5362 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3725, allocations: 5.172 kB / 0.5362 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3725, allocations: 35.56 kB / 0.5362 GB, free: 8.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3725, allocations: 0 / 0.5362 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005378/0.373, allocations: 175.1 kB / 0.5364 GB, free: 8.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.3731, allocations: 52.69 kB / 0.5364 GB, free: 8.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.3733, allocations: 193.8 kB / 0.5366 GB, free: 8.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3734, allocations: 26.83 kB / 0.5366 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3735, allocations: 140.9 kB / 0.5368 GB, free: 8.484 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.3735, allocations: 23.23 kB / 0.5368 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.3736, allocations: 44.92 kB / 0.5368 GB, free: 8.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3737, allocations: 322.7 kB / 0.5371 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3739, allocations: 46.91 kB / 0.5372 GB, free: 8.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.3741, allocations: 100.7 kB / 0.5373 GB, free: 7.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.3744, allocations: 161.7 kB / 0.5374 GB, free: 7.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3744, allocations: 0 / 0.5374 GB, free: 7.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000429/0.3749, allocations: 193.2 kB / 0.5376 GB, free: 7.766 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3749, allocations: 4.938 kB / 0.5376 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3749, allocations: 2.188 kB / 0.5376 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3749, allocations: 3.344 kB / 0.5376 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008774/0.3758, allocations: 95.5 kB / 0.5377 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.3774, allocations: 1.815 MB / 0.5395 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.3776, allocations: 19.84 kB / 0.5395 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.3776, allocations: 13.55 kB / 0.5395 GB, free: 5.895 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.0001535/0.3777, allocations: 149.7 kB / 0.5397 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.3778, allocations: 8.734 kB / 0.5397 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004764/0.3783, allocations: 188.3 kB / 0.5399 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3783, allocations: 0 / 0.5399 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3783, allocations: 1.281 kB / 0.5399 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3783, allocations: 0 / 0.5399 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.3786, allocations: 241.6 kB / 0.5401 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3786, allocations: 0 / 0.5401 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000691/0.3793, allocations: 80.62 kB / 0.5402 GB, free: 5.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3793, allocations: 5.312 kB / 0.5402 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3793, allocations: 1.375 kB / 0.5402 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.3808, allocations: 1.777 MB / 0.5419 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.3808, allocations: 7.922 kB / 0.5419 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.3812, allocations: 241.2 kB / 0.5421 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.3813, allocations: 90.2 kB / 0.5422 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.3814, allocations: 4.906 kB / 0.5422 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.3815, allocations: 11.42 kB / 0.5423 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.3816, allocations: 9.016 kB / 0.5423 GB, free: 3.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.3816, allocations: 6.219 kB / 0.5423 GB, free: 3.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.3817, allocations: 134.1 kB / 0.5424 GB, free: 3.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3817, allocations: 1.125 kB / 0.5424 GB, free: 3.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003748/0.3821, allocations: 50.31 kB / 0.5424 GB, free: 3.125 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.0008921/0.383, allocations: 0.79 MB / 0.5432 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.3842, allocations: 195.2 kB / 0.5434 GB, free: 2.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3842, allocations: 0 / 0.5434 GB, free: 2.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006441/0.3849, allocations: 103 kB / 0.5435 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.3853, allocations: 44.86 kB / 0.5435 GB, free: 2.258 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.3881, allocations: 2.113 MB / 0.5456 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.3886, allocations: 0.7366 MB / 0.5463 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.3887, allocations: 32.06 kB / 0.5464 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.562e-05/0.3888, allocations: 47.72 kB / 0.5464 GB, free: 15.76 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3888, allocations: 0 / 0.5464 GB, free: 15.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.4176, allocations: 5.09 MB / 0.5514 GB, free: 11.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.14, allocations: 10.44 kB / 0.5514 GB, free: 11.96 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