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.0008019/0.0008021, allocations: 101.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008732/0.0008733, allocations: 181.9 kB / 16.92 MB, free: 6.922 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.505/1.505, allocations: 205.4 MB / 223.1 MB, free: 5.77 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.3366/0.3366, allocations: 43.59 MB / 315 MB, free: 8.922 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.0005144/0.0005144, allocations: 12 kB / 384.7 MB, free: 7.746 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1366, allocations: 58.88 MB / 443.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.00268/0.1394, allocations: 1.505 MB / 445.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1412, allocations: 0.8189 MB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.961e-05/0.1412, allocations: 0 / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.1415, allocations: 39.81 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.1418, allocations: 71.7 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.142, allocations: 63.75 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.1422, allocations: 199.4 kB / 446.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.1423, allocations: 19.91 kB / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.1424, allocations: 59.7 kB / 446.3 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1426, allocations: 83.77 kB / 446.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1426, allocations: 0 / 446.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.1427, allocations: 71.83 kB / 446.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.1428, allocations: 23.91 kB / 446.5 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.776e-05/0.1429, allocations: 73.44 kB / 446.6 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.1431, allocations: 139.5 kB / 446.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1432, allocations: 0 / 446.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1432, allocations: 0 / 446.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1432, allocations: 0 / 446.7 MB, free: 9.59 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.0005621/0.1437, allocations: 391.2 kB / 447.1 MB, free: 9.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1438, allocations: 12.03 kB / 447.1 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.67e-05/0.1438, allocations: 46.73 kB / 447.2 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.1442, allocations: 36.75 kB / 447.2 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.1444, allocations: 184.2 kB / 447.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1444, allocations: 8.375 kB / 447.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.1444, allocations: 19.92 kB / 447.4 MB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.1448, allocations: 192 kB / 447.6 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1448, allocations: 0 / 447.6 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.1449, allocations: 4 kB / 447.6 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-05/0.1449, allocations: 11.98 kB / 447.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.1452, allocations: 147.8 kB / 447.8 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008367/0.1461, allocations: 0.6445 MB / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.1464, allocations: 114.7 kB / 448.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.1465, allocations: 44.83 kB / 448.6 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1466, allocations: 4 kB / 448.6 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.1466, allocations: 34.5 kB / 448.6 MB, free: 7.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.011e-06/0.1466, allocations: 0 / 448.6 MB, free: 7.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004456/0.1471, allocations: 153.8 kB / 448.7 MB, free: 7.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.1471, allocations: 55.34 kB / 448.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1472, allocations: 133.9 kB / 448.9 MB, free: 7.156 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1473, allocations: 29.7 kB / 449 MB, free: 7.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.1473, allocations: 123.9 kB / 449.1 MB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.1474, allocations: 31.55 kB / 449.1 MB, free: 6.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.1474, allocations: 17.72 kB / 449.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1475, allocations: 322.8 kB / 449.4 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1477, allocations: 39.97 kB / 449.5 MB, free: 6.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1478, allocations: 99.62 kB / 449.6 MB, free: 6.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.1481, allocations: 159.5 kB / 449.7 MB, free: 6.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1481, allocations: 0 / 449.7 MB, free: 6.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003348/0.1485, allocations: 165.5 kB / 449.9 MB, free: 6.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1485, allocations: 8 kB / 449.9 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1485, allocations: 3.984 kB / 449.9 MB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1485, allocations: 4 kB / 449.9 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.1487, allocations: 35.98 kB / 450 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1487, allocations: 11.94 kB / 450 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.1488, allocations: 28.02 kB / 450 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.1488, allocations: 8 kB / 450 MB, free: 6.004 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 0.0001034/0.1489, allocations: 125.8 kB / 450.1 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.149, allocations: 7.906 kB / 450.1 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.1493, allocations: 141.9 kB / 450.3 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1493, allocations: 0 / 450.3 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1493, allocations: 0 / 450.3 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1493, allocations: 0 / 450.3 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.1496, allocations: 197.5 kB / 450.5 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1496, allocations: 0 / 450.5 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.1497, allocations: 31.97 kB / 450.5 MB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1497, allocations: 4 kB / 450.5 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1497, allocations: 0 / 450.5 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1498, allocations: 4.469 kB / 450.5 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1498, allocations: 0 / 450.5 MB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.1501, allocations: 239.2 kB / 450.7 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.1501, allocations: 81.02 kB / 450.8 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.1502, allocations: 3.984 kB / 450.8 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.531e-05/0.1503, allocations: 11.98 kB / 450.8 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.1503, allocations: 4 kB / 450.8 MB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1503, allocations: 3.938 kB / 450.8 MB, free: 5.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.254e-05/0.1504, allocations: 103.3 kB / 450.9 MB, free: 4.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1504, allocations: 0 / 450.9 MB, free: 4.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1507, allocations: 27.91 kB / 451 MB, free: 4.938 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.0006292/0.1513, allocations: 0.7669 MB / 451.7 MB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.1516, allocations: 108.4 kB / 451.8 MB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1516, allocations: 0 / 451.8 MB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.1517, allocations: 47.91 kB / 451.9 MB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.152, allocations: 11.98 kB / 451.9 MB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.1539, allocations: 1.753 MB / 453.6 MB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1542, allocations: 0.7043 MB / 454.4 MB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.1543, allocations: 36.38 kB / 454.4 MB, free: 1.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.1544, allocations: 23.44 kB / 454.4 MB, free: 1.305 MB / 382.1 MB Notification: Performance of SimCode: time 2.134e-06/0.1544, allocations: 0 / 454.4 MB, free: 1.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.208/0.3624, allocations: 1.984 MB / 456.4 MB, free: 45.84 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.3626, allocations: 258.5 kB / 456.6 MB, free: 45.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.118, allocations: 0 / 456.6 MB, free: 45.58 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