Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 104.3 kB / 17.2 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 241.8 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2131/0.2131, allocations: 44.18 MB / 336.1 MB, free: 3.039 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 69.45 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1332, allocations: 60.81 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.003506/0.1368, allocations: 1.882 MB / 470.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1381, allocations: 0.6543 MB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1382, allocations: 0 / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.1385, allocations: 51.73 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.1388, allocations: 59.66 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.1392, allocations: 99.69 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.1396, allocations: 302.7 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.069e-05/0.1396, allocations: 28.3 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1398, allocations: 87.45 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.14, allocations: 107.5 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.14, allocations: 8 kB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004348/0.1405, allocations: 215.8 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.1406, allocations: 51.7 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.1407, allocations: 103.3 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.1412, allocations: 323.2 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1412, allocations: 0 / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1412, allocations: 4 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1412, allocations: 0 / 472.6 MB, free: 10.79 MB / 350.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.0007543/0.142, allocations: 0.5227 MB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1421, allocations: 8.031 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.788e-05/0.1421, allocations: 66.72 kB / 473.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.1441, allocations: 200.3 kB / 473.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.1445, allocations: 278.6 kB / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.1445, allocations: 16.94 kB / 473.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.1446, allocations: 24.36 kB / 473.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009777/0.1456, allocations: 0.5045 MB / 474.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1456, allocations: 7.938 kB / 474.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.1456, allocations: 4 kB / 474.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/0.1457, allocations: 32.55 kB / 474.2 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.1469, allocations: 0.5798 MB / 474.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.1492, allocations: 1.165 MB / 476 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.1499, allocations: 174.3 kB / 476.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.1503, allocations: 84.77 kB / 476.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.1503, allocations: 4.141 kB / 476.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1503, allocations: 38.55 kB / 476.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/0.1503, allocations: 4 kB / 476.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001213/0.1515, allocations: 297.1 kB / 476.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.1516, allocations: 51.41 kB / 476.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.1519, allocations: 286.4 kB / 476.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1519, allocations: 29.7 kB / 476.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.152, allocations: 167.5 kB / 477.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.1521, allocations: 19.66 kB / 477.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.1522, allocations: 41.69 kB / 477.2 MB, free: 5.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1523, allocations: 342.8 kB / 477.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.1527, allocations: 83.91 kB / 477.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.1531, allocations: 119.3 kB / 477.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007055/0.1538, allocations: 215.1 kB / 477.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1538, allocations: 0 / 477.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008431/0.1547, allocations: 269.1 kB / 478.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1547, allocations: 4 kB / 478.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1547, allocations: 7.984 kB / 478.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1547, allocations: 0 / 478.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006462/0.1612, allocations: 467.5 kB / 478.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/0.1641, allocations: 1.949 MB / 480.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/0.1646, allocations: 39.69 kB / 480.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.1646, allocations: 15.98 kB / 480.6 MB, free: 2.371 MB / 350.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.0002309/0.1649, allocations: 157.8 kB / 480.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.165, allocations: 23.72 kB / 480.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.165, allocations: 25.7 kB / 480.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.165, allocations: 0 / 480.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1651, allocations: 0 / 480.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1651, allocations: 0 / 480.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.1655, allocations: 289.4 kB / 481.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1655, allocations: 0 / 481.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00641/0.1719, allocations: 459.3 kB / 481.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.172, allocations: 0 / 481.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.172, allocations: 3.984 kB / 481.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/0.1748, allocations: 1.949 MB / 483.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1748, allocations: 3.938 kB / 483.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000818/0.1756, allocations: 319.2 kB / 483.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.1757, allocations: 100.8 kB / 483.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.1758, allocations: 0 / 483.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.1762, allocations: 23.91 kB / 484 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.1763, allocations: 11.97 kB / 484 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.1763, allocations: 11.94 kB / 484 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.1766, allocations: 209.9 kB / 484.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1766, allocations: 0 / 484.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004046/0.177, allocations: 63.94 kB / 484.2 MB, free: 14.6 MB / 366.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.001252/0.1782, allocations: 0.8627 MB / 485.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006501/0.1848, allocations: 0.5928 MB / 485.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1848, allocations: 0 / 485.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005928/0.1907, allocations: 0.4916 MB / 486.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.1913, allocations: 44.61 kB / 486.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/0.1966, allocations: 3.062 MB / 489.3 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.1971, allocations: 0.7713 MB / 490.1 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.1974, allocations: 61.84 kB / 490.1 MB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002629/0.1976, allocations: 63.41 kB / 490.2 MB, free: 8.492 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1976, allocations: 0 / 490.2 MB, free: 8.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.2204, allocations: 7.456 MB / 497.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/0.2206, allocations: 306.2 kB / 497.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/2.286, allocations: 6.656 kB / 498 MB, free: 0.918 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches