Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001063/0.001063, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 205.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.9 MB, free: 10.43 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.09 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 71.88 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3305, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003168/0.3337, allocations: 1.839 MB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3349, allocations: 0.6202 MB / 0.5329 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.335, allocations: 3.938 kB / 0.5329 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.3353, allocations: 46.05 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.3355, allocations: 81.89 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.336, allocations: 124.5 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.3362, allocations: 230.9 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.533e-05/0.3363, allocations: 28.8 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.3364, allocations: 86.02 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.3366, allocations: 99.36 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.3366, allocations: 6.875 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003988/0.337, allocations: 226.7 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.3371, allocations: 56.19 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.76e-05/0.3372, allocations: 95.11 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.3378, allocations: 337.2 kB / 0.5343 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3378, allocations: 0 / 0.5343 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3378, allocations: 0 / 0.5343 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.3378, allocations: 1.312 kB / 0.5343 GB, free: 10.62 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007872/0.3386, allocations: 0.5224 MB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3386, allocations: 9.844 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.002e-05/0.3387, allocations: 72.92 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.3406, allocations: 200.1 kB / 0.5351 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.3409, allocations: 276 kB / 0.5353 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.341, allocations: 17.59 kB / 0.5354 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.341, allocations: 23.83 kB / 0.5354 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00098/0.342, allocations: 0.4982 MB / 0.5359 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.342, allocations: 1.094 kB / 0.5359 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.3421, allocations: 13.2 kB / 0.5359 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.094e-05/0.3421, allocations: 26.02 kB / 0.5359 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.3433, allocations: 0.5843 MB / 0.5365 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.3457, allocations: 1.171 MB / 0.5376 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.3463, allocations: 168.9 kB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.3467, allocations: 91.72 kB / 0.5379 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.3467, allocations: 1.344 kB / 0.5379 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3467, allocations: 35.81 kB / 0.5379 GB, free: 7.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.744e-06/0.3467, allocations: 0 / 0.5379 GB, free: 7.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.00124/0.348, allocations: 307.4 kB / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.348, allocations: 52.59 kB / 0.5382 GB, free: 7.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.3484, allocations: 279.2 kB / 0.5385 GB, free: 7.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.3484, allocations: 25.7 kB / 0.5385 GB, free: 7.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.3486, allocations: 170.3 kB / 0.5387 GB, free: 7.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.3486, allocations: 22.88 kB / 0.5387 GB, free: 7.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.3487, allocations: 37.67 kB / 0.5388 GB, free: 7.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3489, allocations: 333.2 kB / 0.5391 GB, free: 6.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.3493, allocations: 89.64 kB / 0.5392 GB, free: 6.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.3497, allocations: 122.5 kB / 0.5393 GB, free: 6.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007015/0.3504, allocations: 206 kB / 0.5395 GB, free: 6.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3504, allocations: 1.406 kB / 0.5395 GB, free: 6.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008378/0.3512, allocations: 269.4 kB / 0.5397 GB, free: 6.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3513, allocations: 5.625 kB / 0.5397 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3513, allocations: 1.125 kB / 0.5397 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3513, allocations: 2.438 kB / 0.5397 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006149/0.3575, allocations: 471.4 kB / 0.5402 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.3603, allocations: 1.942 MB / 0.5421 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.3607, allocations: 42.78 kB / 0.5421 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.3607, allocations: 8.766 kB / 0.5421 GB, free: 4.477 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0001944/0.3609, allocations: 152.9 kB / 0.5423 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.361, allocations: 20.88 kB / 0.5423 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.613e-05/0.3611, allocations: 34.08 kB / 0.5423 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3611, allocations: 1.281 kB / 0.5423 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3611, allocations: 0 / 0.5423 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3611, allocations: 1.406 kB / 0.5423 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.3615, allocations: 296.8 kB / 0.5426 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3615, allocations: 3.984 kB / 0.5426 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006086/0.3676, allocations: 459.8 kB / 0.5431 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3677, allocations: 1.062 kB / 0.5431 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.3677, allocations: 6.391 kB / 0.5431 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002695/0.3704, allocations: 1.944 MB / 0.545 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3704, allocations: 0 / 0.545 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007876/0.3712, allocations: 313.9 kB / 0.5453 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.3713, allocations: 101.2 kB / 0.5454 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.3714, allocations: 5.062 kB / 0.5454 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.3718, allocations: 21.25 kB / 0.5454 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.3718, allocations: 15.94 kB / 0.5454 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.3719, allocations: 14.08 kB / 0.5454 GB, free: 1.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002075/0.3721, allocations: 206.3 kB / 0.5456 GB, free: 1.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3721, allocations: 0 / 0.5456 GB, free: 1.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003952/0.3725, allocations: 72.06 kB / 0.5457 GB, free: 1.426 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 (7): * Single equations (assignments): 4 * 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.001152/0.3736, allocations: 0.8617 MB / 0.5465 GB, free: 0.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006507/0.3802, allocations: 0.5905 MB / 0.5471 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3802, allocations: 0 / 0.5471 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005861/0.3861, allocations: 0.4915 MB / 0.5476 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.3865, allocations: 45.27 kB / 0.5476 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/0.3912, allocations: 2.981 MB / 0.5505 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.3915, allocations: 0.7907 MB / 0.5513 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.3917, allocations: 49.86 kB / 0.5513 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.3918, allocations: 63.41 kB / 0.5514 GB, free: 11.71 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3918, allocations: 0 / 0.5514 GB, free: 11.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.4188, allocations: 8.113 MB / 0.5593 GB, free: 3.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.76, allocations: 11.58 kB / 0.5593 GB, free: 3.84 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches