Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001381/0.001381, allocations: 108.6 kB / 15.99 MB, free: 6.352 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.001288/0.001288, allocations: 199.6 kB / 16.91 MB, free: 6.195 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.359/1.359, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.3871/0.3871, allocations: 43.49 MB / 313.6 MB, free: 8.465 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.001489/0.001489, allocations: 67.91 kB / 382.4 MB, free: 8.488 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1154, allocations: 57.78 MB / 440.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003355/0.1188, allocations: 1.844 MB / 442 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.12, allocations: 0.8344 MB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.12, allocations: 4 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.1203, allocations: 31.83 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.1206, allocations: 75.64 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.1208, allocations: 59.75 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.121, allocations: 135.5 kB / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.675e-05/0.1211, allocations: 19.91 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1212, allocations: 67.75 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.1214, allocations: 79.72 kB / 443.3 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.1214, allocations: 11.94 kB / 443.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.1216, allocations: 71.88 kB / 443.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.1216, allocations: 27.97 kB / 443.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.1217, allocations: 43.66 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1219, allocations: 139.5 kB / 443.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1219, allocations: 0 / 443.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.122, allocations: 4 kB / 443.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.122, allocations: 0 / 443.6 MB, free: 11.14 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005412/0.1225, allocations: 403.2 kB / 444 MB, free: 10.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1226, allocations: 12.03 kB / 444 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.636e-05/0.1226, allocations: 46.73 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/0.123, allocations: 32.81 kB / 444.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.1232, allocations: 188.2 kB / 444.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1233, allocations: 12.38 kB / 444.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1233, allocations: 15.92 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.1236, allocations: 184 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1237, allocations: 0 / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.1237, allocations: 4 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.1237, allocations: 8 kB / 444.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.124, allocations: 131.9 kB / 444.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008035/0.1248, allocations: 0.6483 MB / 445.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.1252, allocations: 102.7 kB / 445.3 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.1253, allocations: 40.83 kB / 445.4 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1253, allocations: 0 / 445.4 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.1253, allocations: 34.55 kB / 445.4 MB, free: 9.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1254, allocations: 4 kB / 445.4 MB, free: 9.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004019/0.1258, allocations: 141.6 kB / 445.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.1258, allocations: 59.34 kB / 445.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.1259, allocations: 122.1 kB / 445.7 MB, free: 8.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1259, allocations: 29.69 kB / 445.8 MB, free: 8.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.126, allocations: 123.8 kB / 445.9 MB, free: 8.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.126, allocations: 23.66 kB / 445.9 MB, free: 8.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.1261, allocations: 33.7 kB / 445.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1262, allocations: 322.8 kB / 446.2 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.1263, allocations: 35.95 kB / 446.3 MB, free: 8.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.1265, allocations: 103.6 kB / 446.4 MB, free: 8.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.1267, allocations: 143.9 kB / 446.5 MB, free: 7.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1267, allocations: 0 / 446.5 MB, free: 7.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003258/0.1271, allocations: 165.3 kB / 446.7 MB, free: 7.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1271, allocations: 4.25 kB / 446.7 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1271, allocations: 8 kB / 446.7 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1271, allocations: 4 kB / 446.7 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.1273, allocations: 35.97 kB / 446.7 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1273, allocations: 4 kB / 446.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.794e-05/0.1274, allocations: 19.83 kB / 446.8 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1274, allocations: 8 kB / 446.8 MB, free: 7.629 MB / 382.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.654e-05/0.1275, allocations: 137.7 kB / 446.9 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.1275, allocations: 3.906 kB / 446.9 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.1279, allocations: 125.9 kB / 447 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1279, allocations: 0 / 447 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1279, allocations: 0 / 447 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1279, allocations: 0 / 447 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.1281, allocations: 201.5 kB / 447.2 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1281, allocations: 3.984 kB / 447.2 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.1282, allocations: 35.97 kB / 447.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1283, allocations: 0 / 447.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1283, allocations: 0 / 447.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1283, allocations: 0 / 447.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1283, allocations: 4 kB / 447.3 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1286, allocations: 219.3 kB / 447.5 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.1286, allocations: 84.95 kB / 447.6 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1286, allocations: 4 kB / 447.6 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.507e-05/0.1287, allocations: 7.984 kB / 447.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.1288, allocations: 7.938 kB / 447.6 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.1288, allocations: 4 kB / 447.6 MB, free: 6.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.882e-05/0.1288, allocations: 95.77 kB / 447.7 MB, free: 6.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1288, allocations: 0 / 447.7 MB, free: 6.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1291, allocations: 24 kB / 447.7 MB, free: 6.59 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 (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.0005464/0.1297, allocations: 0.7551 MB / 448.5 MB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.13, allocations: 111.8 kB / 448.6 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.13, allocations: 4 kB / 448.6 MB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1301, allocations: 43.91 kB / 448.6 MB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.1303, allocations: 15.84 kB / 448.6 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.1321, allocations: 1.702 MB / 450.3 MB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.1324, allocations: 0.708 MB / 451 MB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.652e-05/0.1325, allocations: 28.53 kB / 451.1 MB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.1326, allocations: 27.42 kB / 451.1 MB, free: 3.02 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1326, allocations: 0 / 451.1 MB, free: 3.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.459/0.5916, allocations: 2.132 MB / 453.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/0.5919, allocations: 248.7 kB / 453.5 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.566, allocations: 7.891 kB / 453.5 MB, free: 0.6562 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches