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_laminar_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_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.000893/0.000893, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.001169/0.00117, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.373/1.373, 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.1919/0.1919, allocations: 44.24 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003136, allocations: 8 kB / 410.5 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1196, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.00199/0.1216, allocations: 1.508 MB / 473.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1228, allocations: 0.7792 MB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.1228, allocations: 3.938 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.123, allocations: 35.83 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.1233, allocations: 71.7 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.1234, allocations: 63.73 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.1236, allocations: 203.4 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.1237, allocations: 8 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1238, allocations: 59.77 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.124, allocations: 75.67 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.124, allocations: 4 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1241, allocations: 79.86 kB / 475.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.1242, allocations: 27.91 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.928e-05/0.1243, allocations: 65.44 kB / 475.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1245, allocations: 139.8 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1245, allocations: 0 / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1245, allocations: 0 / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1245, allocations: 0 / 475.5 MB, free: 10.11 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005054/0.125, allocations: 397.4 kB / 475.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.1251, allocations: 12.03 kB / 475.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.907e-05/0.1251, allocations: 46.72 kB / 475.9 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/0.1255, allocations: 32.81 kB / 476 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.1257, allocations: 192.2 kB / 476.2 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1257, allocations: 4.375 kB / 476.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1257, allocations: 15.94 kB / 476.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.1261, allocations: 184.1 kB / 476.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1261, allocations: 0 / 476.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.1261, allocations: 7.984 kB / 476.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.1262, allocations: 11.98 kB / 476.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.1265, allocations: 143.8 kB / 476.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.1273, allocations: 0.656 MB / 477.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.1277, allocations: 118.7 kB / 477.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.1278, allocations: 44.83 kB / 477.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.1278, allocations: 0 / 477.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1279, allocations: 34.5 kB / 477.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1279, allocations: 0 / 477.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004672/0.1283, allocations: 153.5 kB / 477.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.1284, allocations: 51.41 kB / 477.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.1285, allocations: 129.3 kB / 477.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1285, allocations: 33.64 kB / 477.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/0.1286, allocations: 128 kB / 477.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.1287, allocations: 27.64 kB / 477.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.1287, allocations: 17.72 kB / 477.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1289, allocations: 322.8 kB / 478.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.129, allocations: 39.97 kB / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.1292, allocations: 99.62 kB / 478.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.1295, allocations: 155.5 kB / 478.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1295, allocations: 4 kB / 478.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003246/0.1298, allocations: 165.3 kB / 478.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1298, allocations: 8 kB / 478.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1299, allocations: 0 / 478.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1299, allocations: 7.984 kB / 478.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.1301, allocations: 39.97 kB / 478.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1301, allocations: 8.578 kB / 478.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.54e-05/0.1302, allocations: 27.83 kB / 478.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1302, allocations: 8 kB / 478.8 MB, free: 6.516 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.754e-05/0.1303, allocations: 129.8 kB / 478.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1303, allocations: 7.906 kB / 478.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.1307, allocations: 145.9 kB / 479 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1307, allocations: 0 / 479 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1307, allocations: 0 / 479 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1307, allocations: 0 / 479 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.1309, allocations: 193.6 kB / 479.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1309, allocations: 0 / 479.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.1311, allocations: 35.97 kB / 479.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1311, allocations: 3.938 kB / 479.3 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1311, allocations: 4 kB / 479.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1311, allocations: 4 kB / 479.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1311, allocations: 0 / 479.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.1314, allocations: 231.2 kB / 479.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.1315, allocations: 84.95 kB / 479.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1315, allocations: 0 / 479.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.781e-05/0.1316, allocations: 15.98 kB / 479.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.1316, allocations: 4 kB / 479.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1316, allocations: 4 kB / 479.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.621e-05/0.1317, allocations: 99.27 kB / 479.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1317, allocations: 0 / 479.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.132, allocations: 20 kB / 479.7 MB, free: 5.453 MB / 350.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005782/0.1326, allocations: 0.7596 MB / 480.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.1328, allocations: 108.2 kB / 480.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1329, allocations: 0 / 480.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.133, allocations: 51.89 kB / 480.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.1332, allocations: 11.98 kB / 480.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.1352, allocations: 1.76 MB / 482.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.1355, allocations: 0.7082 MB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.719e-05/0.1356, allocations: 32.52 kB / 483.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.1357, allocations: 23.44 kB / 483.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1357, allocations: 0 / 483.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.1476, allocations: 1.994 MB / 485.2 MB, free: 32 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.1478, allocations: 253.2 kB / 485.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/1.845, allocations: 6.656 kB / 485.4 MB, free: 15.77 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches