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.001054/0.001054, allocations: 115 kB / 17.33 MB, free: 6.016 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.001012/0.001012, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.287/1.287, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.2092/0.2092, allocations: 44.19 MB / 336.3 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 68.3 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1272, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003622/0.1309, allocations: 1.875 MB / 470.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.1349, allocations: 2.843 MB / 473.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.1351, allocations: 0 / 473.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.1354, allocations: 47.75 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.1358, allocations: 71.64 kB / 473.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.1375, allocations: 0.6505 MB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.1379, allocations: 246.8 kB / 474.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.243e-05/0.138, allocations: 24.39 kB / 474.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.1382, allocations: 107.4 kB / 474.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.1384, allocations: 131.4 kB / 474.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.1384, allocations: 8 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.1402, allocations: 1.197 MB / 476 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.1404, allocations: 75.66 kB / 476.1 MB, free: 7.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.1405, allocations: 123.2 kB / 476.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.142, allocations: 0.9079 MB / 477.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.142, allocations: 0 / 477.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.142, allocations: 0 / 477.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.142, allocations: 0 / 477.1 MB, free: 6.297 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.001051/0.1431, allocations: 0.663 MB / 477.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1432, allocations: 12.03 kB / 477.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.769e-05/0.1432, allocations: 74.69 kB / 477.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.1433, allocations: 32.56 kB / 477.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.1436, allocations: 247 kB / 478.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1436, allocations: 24.56 kB / 478.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.1437, allocations: 24 kB / 478.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.1444, allocations: 471.3 kB / 478.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1444, allocations: 0 / 478.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.1444, allocations: 8 kB / 478.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.966e-05/0.1445, allocations: 44.97 kB / 478.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007598/0.1453, allocations: 0.5504 MB / 479.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.1471, allocations: 1.319 MB / 480.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.1476, allocations: 268.9 kB / 480.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.1478, allocations: 108.7 kB / 481 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/0.1479, allocations: 16.31 kB / 481 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1479, allocations: 38.56 kB / 481 MB, free: 2.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.1479, allocations: 0 / 481 MB, free: 2.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006988/0.1486, allocations: 325.9 kB / 481.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.1486, allocations: 55.41 kB / 481.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1488, allocations: 144.5 kB / 481.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.1488, allocations: 37.7 kB / 481.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1489, allocations: 195.7 kB / 481.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.95e-05/0.149, allocations: 86.75 kB / 481.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1491, allocations: 65.56 kB / 481.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1492, allocations: 326.8 kB / 482.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.1494, allocations: 87.92 kB / 482.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.1497, allocations: 178.2 kB / 482.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.1501, allocations: 290.2 kB / 482.8 MB, free: 308 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1501, allocations: 0 / 482.8 MB, free: 308 kB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005922/0.1507, allocations: 325.3 kB / 483.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1508, allocations: 12 kB / 483.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1508, allocations: 4 kB / 483.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.1508, allocations: 4 kB / 483.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004956/0.1513, allocations: 115.9 kB / 483.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.1527, allocations: 2.367 MB / 485.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.1529, allocations: 35.61 kB / 485.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.153, allocations: 16.22 kB / 485.6 MB, free: 13.33 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.0002857/0.1533, allocations: 177.7 kB / 485.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.1533, allocations: 11.91 kB / 485.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008195/0.1541, allocations: 364 kB / 486.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1542, allocations: 4 kB / 486.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1542, allocations: 0 / 486.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1542, allocations: 11.92 kB / 486.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.1547, allocations: 341.3 kB / 486.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1547, allocations: 0 / 486.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.1551, allocations: 103.9 kB / 486.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.1551, allocations: 4 kB / 486.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.1552, allocations: 12 kB / 486.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.1563, allocations: 2.36 MB / 489 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1564, allocations: 4.062 kB / 489 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.1569, allocations: 383.3 kB / 489.4 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.157, allocations: 88.95 kB / 489.5 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.1571, allocations: 4 kB / 489.5 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1572, allocations: 15.98 kB / 489.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.1573, allocations: 19.97 kB / 489.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1573, allocations: 12 kB / 489.5 MB, free: 9.262 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.755e-05/0.1574, allocations: 107.2 kB / 489.6 MB, free: 9.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1574, allocations: 0 / 489.6 MB, free: 9.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007927/0.1582, allocations: 239.4 kB / 489.9 MB, free: 8.922 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.001836/0.1601, allocations: 1.146 MB / 491 MB, free: 7.746 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008869/0.161, allocations: 356.2 kB / 491.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.161, allocations: 0 / 491.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.1614, allocations: 180.3 kB / 491.5 MB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.1619, allocations: 15.94 kB / 491.5 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/0.1658, allocations: 2.721 MB / 494.3 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.1662, allocations: 0.7987 MB / 495.1 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003101/0.1665, allocations: 105.7 kB / 495.2 MB, free: 3.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.1666, allocations: 87.41 kB / 495.2 MB, free: 3.336 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1666, allocations: 0 / 495.2 MB, free: 3.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.1973, allocations: 8.492 MB / 0.4919 GB, free: 11.08 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/0.1976, allocations: 287.6 kB / 0.4922 GB, free: 10.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.285, allocations: 0 / 0.4922 GB, free: 10.7 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