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.001099/0.001099, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001132/0.001132, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.346/1.346, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.1815/0.1815, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 56.53 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.00333/0.119, allocations: 1.822 MB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003967/0.123, allocations: 2.855 MB / 474.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.1231, allocations: 7.938 kB / 474.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.1234, allocations: 47.69 kB / 474.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.1237, allocations: 79.62 kB / 474.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.1256, allocations: 0.7192 MB / 474.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.1259, allocations: 234.8 kB / 475.1 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.644e-05/0.126, allocations: 28.39 kB / 475.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.1262, allocations: 107.4 kB / 475.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.1264, allocations: 123.4 kB / 475.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.1264, allocations: 12 kB / 475.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.1279, allocations: 1.197 MB / 476.6 MB, free: 7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.91e-05/0.128, allocations: 71.67 kB / 476.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1282, allocations: 119.2 kB / 476.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.1293, allocations: 0.9118 MB / 477.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1293, allocations: 0 / 477.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1293, allocations: 0 / 477.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1294, allocations: 4 kB / 477.7 MB, free: 5.895 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.0008793/0.1302, allocations: 0.663 MB / 478.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1303, allocations: 12.03 kB / 478.4 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.718e-05/0.1303, allocations: 74.7 kB / 478.4 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.1304, allocations: 28.56 kB / 478.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1306, allocations: 243.1 kB / 478.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1307, allocations: 20.5 kB / 478.7 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.1307, allocations: 27.98 kB / 478.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/0.1313, allocations: 471.3 kB / 479.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1313, allocations: 0 / 479.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.1314, allocations: 12 kB / 479.2 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-05/0.1314, allocations: 44.97 kB / 479.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007221/0.1322, allocations: 0.5504 MB / 479.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.1337, allocations: 1.319 MB / 481.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.1342, allocations: 270.5 kB / 481.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.1344, allocations: 96.78 kB / 481.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.1344, allocations: 16.25 kB / 481.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.1345, allocations: 42.56 kB / 481.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.293e-06/0.1345, allocations: 0 / 481.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.000659/0.1351, allocations: 329.9 kB / 481.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.1352, allocations: 55.41 kB / 481.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.239e-05/0.1353, allocations: 140.5 kB / 482.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1353, allocations: 33.7 kB / 482.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.1354, allocations: 195.7 kB / 482.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.1354, allocations: 94.73 kB / 482.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/0.1355, allocations: 69.55 kB / 482.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.756e-05/0.1356, allocations: 326.8 kB / 482.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.1358, allocations: 87.92 kB / 482.9 MB, free: 440 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.136, allocations: 174.2 kB / 483 MB, free: 228 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.1365, allocations: 294.1 kB / 483.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1365, allocations: 4 kB / 483.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005153/0.137, allocations: 325 kB / 483.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.137, allocations: 6.5 kB / 483.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.137, allocations: 4.344 kB / 483.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1371, allocations: 8 kB / 483.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.1375, allocations: 115.9 kB / 483.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009552/0.1385, allocations: 2.368 MB / 486.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.1386, allocations: 31.62 kB / 486.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.1387, allocations: 23.92 kB / 486.2 MB, free: 12.93 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.000138/0.1388, allocations: 177.9 kB / 486.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.1388, allocations: 11.91 kB / 486.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000698/0.1395, allocations: 358.3 kB / 486.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1396, allocations: 4 kB / 486.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1396, allocations: 0 / 486.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1396, allocations: 3.938 kB / 486.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.1399, allocations: 345.3 kB / 487.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1399, allocations: 4 kB / 487.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.1403, allocations: 103.9 kB / 487.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1403, allocations: 0 / 487.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.1403, allocations: 11.98 kB / 487.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008944/0.1412, allocations: 2.36 MB / 489.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1413, allocations: 0 / 489.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.1417, allocations: 380.6 kB / 489.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.1418, allocations: 88.95 kB / 490 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.1418, allocations: 4 kB / 490 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.142, allocations: 15.98 kB / 490 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.142, allocations: 15.98 kB / 490 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.142, allocations: 15.98 kB / 490.1 MB, free: 8.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.308e-05/0.1421, allocations: 103.2 kB / 490.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1421, allocations: 4 kB / 490.2 MB, free: 8.766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005302/0.1426, allocations: 239.4 kB / 490.4 MB, free: 8.531 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.001114/0.1438, allocations: 1.138 MB / 491.5 MB, free: 7.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007224/0.1445, allocations: 360.2 kB / 491.9 MB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1445, allocations: 0 / 491.9 MB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003951/0.1449, allocations: 183.8 kB / 492.1 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.1452, allocations: 15.66 kB / 492.1 MB, free: 6.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.1478, allocations: 2.569 MB / 494.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.1481, allocations: 0.8064 MB / 495.5 MB, free: 3.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002807/0.1484, allocations: 101.7 kB / 495.6 MB, free: 3.176 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.1485, allocations: 95.39 kB / 495.7 MB, free: 3.082 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1485, allocations: 0 / 495.7 MB, free: 3.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/0.2669, allocations: 8.627 MB / 0.4925 GB, free: 10.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.12, allocations: 13.38 kB / 0.4925 GB, free: 10.64 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