Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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.0009174/0.0009175, allocations: 103.4 kB / 15.98 MB, free: 6.336 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.0008863/0.0008863, allocations: 198.2 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3192/0.3192, allocations: 43.49 MB / 313.6 MB, free: 8.566 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 64.28 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1267, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.00268/0.1294, allocations: 1.878 MB / 442 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009366/0.1303, allocations: 0.6308 MB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.1304, allocations: 0 / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.1307, allocations: 43.8 kB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.1308, allocations: 71.59 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.1311, allocations: 103.7 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.1313, allocations: 230.8 kB / 443.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.839e-05/0.1314, allocations: 40.2 kB / 443.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.389e-05/0.1315, allocations: 87.52 kB / 443.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1316, allocations: 111.4 kB / 443.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1316, allocations: 4 kB / 443.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.132, allocations: 219.8 kB / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.132, allocations: 47.77 kB / 443.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.734e-05/0.1321, allocations: 107.2 kB / 443.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003903/0.1325, allocations: 331.2 kB / 444 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1326, allocations: 4 kB / 444 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1326, allocations: 0 / 444 MB, free: 10.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1326, allocations: 0 / 444 MB, free: 10.72 MB / 382.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.0005936/0.1332, allocations: 0.5187 MB / 444.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1332, allocations: 11.89 kB / 444.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.589e-05/0.1333, allocations: 66.72 kB / 444.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.1351, allocations: 208.2 kB / 444.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.1353, allocations: 267.9 kB / 445.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.1354, allocations: 12.94 kB / 445.1 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.1354, allocations: 28.36 kB / 445.1 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009552/0.1364, allocations: 0.5006 MB / 445.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1364, allocations: 3.938 kB / 445.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.1364, allocations: 11.98 kB / 445.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.1365, allocations: 28.53 kB / 445.6 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.1377, allocations: 0.5876 MB / 446.2 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.1397, allocations: 1.177 MB / 447.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/0.1404, allocations: 166.4 kB / 447.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.1407, allocations: 88.75 kB / 447.7 MB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1407, allocations: 3.938 kB / 447.7 MB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1408, allocations: 34.56 kB / 447.7 MB, free: 6.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1408, allocations: 0 / 447.7 MB, free: 6.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.001162/0.1419, allocations: 301.3 kB / 448 MB, free: 6.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.142, allocations: 51.41 kB / 448 MB, free: 6.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.1422, allocations: 274.6 kB / 448.3 MB, free: 6.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.1423, allocations: 25.7 kB / 448.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1424, allocations: 171.5 kB / 448.5 MB, free: 5.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.1425, allocations: 31.55 kB / 448.5 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.1426, allocations: 37.69 kB / 448.6 MB, free: 5.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1427, allocations: 330.8 kB / 448.9 MB, free: 5.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.143, allocations: 87.89 kB / 449 MB, free: 5.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.1434, allocations: 131.3 kB / 449.1 MB, free: 5.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006985/0.1441, allocations: 207.1 kB / 449.3 MB, free: 5.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1441, allocations: 4 kB / 449.3 MB, free: 5.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008162/0.1449, allocations: 261.2 kB / 449.6 MB, free: 4.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.145, allocations: 4 kB / 449.6 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.145, allocations: 8 kB / 449.6 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.145, allocations: 0 / 449.6 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006082/0.1511, allocations: 475.4 kB / 450 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/0.1539, allocations: 1.949 MB / 452 MB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.1543, allocations: 43.69 kB / 452 MB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.1544, allocations: 7.984 kB / 452 MB, free: 2.309 MB / 382.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.0001599/0.1545, allocations: 165.7 kB / 452.2 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.1546, allocations: 19.81 kB / 452.2 MB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.785e-05/0.1547, allocations: 29.7 kB / 452.3 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1547, allocations: 0 / 452.3 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1547, allocations: 0 / 452.3 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1547, allocations: 3.984 kB / 452.3 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.155, allocations: 289.4 kB / 452.5 MB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.155, allocations: 3.984 kB / 452.5 MB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006147/0.1612, allocations: 455.3 kB / 453 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1612, allocations: 4 kB / 453 MB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.1612, allocations: 3.984 kB / 453 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1775/0.3387, allocations: 1.938 MB / 454.9 MB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3388, allocations: 0 / 454.9 MB, free: 48.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.3395, allocations: 326.4 kB / 455.3 MB, free: 48.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.3396, allocations: 96.06 kB / 455.4 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.3396, allocations: 3.188 kB / 455.4 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.34, allocations: 22.27 kB / 455.4 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.3401, allocations: 12.84 kB / 455.4 MB, free: 48.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.3401, allocations: 6.219 kB / 455.4 MB, free: 48.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.3403, allocations: 207.9 kB / 455.6 MB, free: 48.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3403, allocations: 3.656 kB / 455.6 MB, free: 48.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003459/0.3406, allocations: 65.78 kB / 455.7 MB, free: 48.04 MB / 382.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.0009852/0.3416, allocations: 0.8643 MB / 456.5 MB, free: 47.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006005/0.3476, allocations: 0.5968 MB / 457.1 MB, free: 47.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3477, allocations: 0 / 457.1 MB, free: 47.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005443/0.3531, allocations: 0.4913 MB / 457.6 MB, free: 47.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.3536, allocations: 51.73 kB / 457.7 MB, free: 47.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004267/0.3579, allocations: 3.042 MB / 460.7 MB, free: 46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.3581, allocations: 0.7816 MB / 461.5 MB, free: 45.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001844/0.3583, allocations: 56.48 kB / 461.5 MB, free: 45.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3584, allocations: 70.22 kB / 461.6 MB, free: 45.29 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3585, allocations: 0 / 461.6 MB, free: 45.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8755/1.234, allocations: 7.667 MB / 469.3 MB, free: 44.58 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/1.234, allocations: 307.5 kB / 469.6 MB, free: 44.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.767/4.002, allocations: 7.859 kB / 469.6 MB, free: 44.19 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches