Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001009/0.001009, allocations: 95.16 kB / 17.35 MB, free: 6.371 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.001284/0.001284, allocations: 179.3 kB / 18.26 MB, free: 5.52 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.379/1.379, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1911/0.1911, allocations: 44.24 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.0002969, allocations: 8.562 kB / 410.5 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1095, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002022/0.1116, allocations: 1.54 MB / 473.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.1152, allocations: 2.84 MB / 476.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.579e-05/0.1153, allocations: 0 / 476.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.1156, allocations: 43.81 kB / 476.8 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.116, allocations: 67.66 kB / 476.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.1174, allocations: 0.6465 MB / 477.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.1177, allocations: 306.7 kB / 477.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.412e-05/0.1178, allocations: 24.39 kB / 477.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.1179, allocations: 107.4 kB / 477.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.1181, allocations: 115.5 kB / 478.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.1181, allocations: 8 kB / 478.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.1195, allocations: 1.205 MB / 479.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.63e-05/0.1196, allocations: 67.67 kB / 479.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1198, allocations: 136.9 kB / 479.5 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.1209, allocations: 0.904 MB / 480.4 MB, free: 5.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1209, allocations: 4 kB / 480.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1209, allocations: 0 / 480.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.121, allocations: 0 / 480.4 MB, free: 5.207 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009028/0.1219, allocations: 0.6279 MB / 481 MB, free: 4.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.1219, allocations: 11.97 kB / 481 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.616e-05/0.122, allocations: 74.72 kB / 481.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.1221, allocations: 28.56 kB / 481.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1223, allocations: 243.1 kB / 481.4 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.1223, allocations: 16.56 kB / 481.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.1224, allocations: 31.98 kB / 481.4 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.1231, allocations: 471.3 kB / 481.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1231, allocations: 0 / 481.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.1231, allocations: 8 kB / 481.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.369e-05/0.1232, allocations: 48.95 kB / 481.9 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007815/0.124, allocations: 0.5659 MB / 482.5 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.1257, allocations: 1.303 MB / 483.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/0.1262, allocations: 290.3 kB / 484.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.1264, allocations: 104.8 kB / 484.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.605e-05/0.1265, allocations: 11.94 kB / 484.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1265, allocations: 42.55 kB / 484.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.1265, allocations: 0 / 484.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007125/0.1272, allocations: 345.9 kB / 484.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.1273, allocations: 55.41 kB / 484.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.1274, allocations: 144.6 kB / 484.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1274, allocations: 29.7 kB / 484.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1275, allocations: 195.8 kB / 485 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.1276, allocations: 87.14 kB / 485.1 MB, free: 240 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.1276, allocations: 41.69 kB / 485.1 MB, free: 192 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1278, allocations: 326.8 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.128, allocations: 95.78 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.1282, allocations: 182.2 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.1287, allocations: 294.2 kB / 486 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1287, allocations: 4 kB / 486 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005511/0.1292, allocations: 337 kB / 486.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1293, allocations: 4 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1293, allocations: 8 kB / 486.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1293, allocations: 4 kB / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.1297, allocations: 124.2 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.1309, allocations: 2.368 MB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.131, allocations: 47.55 kB / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.1311, allocations: 16 kB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.1312, allocations: 173.7 kB / 489.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.1313, allocations: 19.84 kB / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007436/0.132, allocations: 363.5 kB / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1321, allocations: 3.938 kB / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.1321, allocations: 4 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1321, allocations: 11.92 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.1324, allocations: 333.4 kB / 489.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1325, allocations: 0 / 489.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.1328, allocations: 111.9 kB / 489.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1329, allocations: 0 / 489.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.1329, allocations: 8 kB / 489.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.134, allocations: 2.371 MB / 492.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.134, allocations: 0 / 492.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/0.1345, allocations: 379.4 kB / 492.6 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.1346, allocations: 96.86 kB / 492.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.1346, allocations: 12.05 kB / 492.7 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.1348, allocations: 12 kB / 492.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.1348, allocations: 23.97 kB / 492.8 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.1348, allocations: 8 kB / 492.8 MB, free: 8.141 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.717e-05/0.1349, allocations: 107.2 kB / 492.9 MB, free: 8.035 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1349, allocations: 0 / 492.9 MB, free: 8.035 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006553/0.1356, allocations: 235.5 kB / 493.1 MB, free: 7.805 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.1368, allocations: 1.157 MB / 494.3 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007212/0.1376, allocations: 312.3 kB / 494.6 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1376, allocations: 0 / 494.6 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000414/0.138, allocations: 180.3 kB / 494.8 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.1383, allocations: 15.98 kB / 494.8 MB, free: 6.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.1413, allocations: 2.766 MB / 497.5 MB, free: 3.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1417, allocations: 0.7987 MB / 498.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003102/0.142, allocations: 97.73 kB / 498.4 MB, free: 2.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.1421, allocations: 91.39 kB / 498.5 MB, free: 2.203 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1421, allocations: 0 / 498.5 MB, free: 2.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.1633, allocations: 8.266 MB / 0.4949 GB, free: 10.18 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003883/0.1637, allocations: 294.5 kB / 0.4952 GB, free: 9.797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.081, allocations: 4 kB / 0.4952 GB, free: 9.793 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches