Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.0008534/0.0008534, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006832/0.0006832, allocations: 85.06 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3296/0.3296, allocations: 43.56 MB / 363.1 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003566, allocations: 19.98 kB / 432.1 MB, free: 5.684 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1116, allocations: 58.84 MB / 490.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.001939/0.1136, allocations: 1.481 MB / 492.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1147, allocations: 0.7688 MB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.1148, allocations: 4 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.115, allocations: 31.81 kB / 493.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.1152, allocations: 71.72 kB / 493.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.1154, allocations: 55.73 kB / 493.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1156, allocations: 163.4 kB / 493.5 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.1157, allocations: 15.98 kB / 493.5 MB, free: 8.152 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.1158, allocations: 55.77 kB / 493.6 MB, free: 8.098 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1159, allocations: 75.72 kB / 493.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1159, allocations: 4 kB / 493.7 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.1161, allocations: 63.89 kB / 493.7 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.1162, allocations: 27.91 kB / 493.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.946e-05/0.1162, allocations: 69.48 kB / 493.8 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1164, allocations: 92.02 kB / 493.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1164, allocations: 0 / 493.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1164, allocations: 4 kB / 493.9 MB, free: 7.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1164, allocations: 0 / 493.9 MB, free: 7.762 MB / 378.7 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.0005083/0.117, allocations: 399.2 kB / 494.3 MB, free: 7.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.117, allocations: 19.91 kB / 494.3 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.1171, allocations: 42.73 kB / 494.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.1174, allocations: 36.81 kB / 494.4 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1175, allocations: 180.2 kB / 494.6 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1176, allocations: 8.375 kB / 494.6 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.1176, allocations: 15.92 kB / 494.6 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.118, allocations: 192 kB / 494.8 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.118, allocations: 0 / 494.8 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.118, allocations: 4 kB / 494.8 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.118, allocations: 4 kB / 494.8 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.1183, allocations: 151.8 kB / 494.9 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008113/0.1192, allocations: 0.6445 MB / 495.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.1195, allocations: 114.7 kB / 495.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.1196, allocations: 44.77 kB / 495.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.1196, allocations: 0 / 495.7 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1197, allocations: 34.55 kB / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1197, allocations: 3.938 kB / 495.8 MB, free: 5.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004165/0.1201, allocations: 158 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.1201, allocations: 55.41 kB / 496 MB, free: 5.465 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/0.1202, allocations: 130 kB / 496.1 MB, free: 5.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1202, allocations: 29.7 kB / 496.1 MB, free: 5.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.1203, allocations: 119.9 kB / 496.3 MB, free: 5.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.1203, allocations: 23.56 kB / 496.3 MB, free: 5.148 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.1204, allocations: 4 kB / 496.3 MB, free: 5.145 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.1205, allocations: 326.8 kB / 496.6 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1206, allocations: 39.91 kB / 496.7 MB, free: 4.777 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.1207, allocations: 103.5 kB / 496.8 MB, free: 4.652 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.121, allocations: 159.6 kB / 496.9 MB, free: 4.469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.121, allocations: 0 / 496.9 MB, free: 4.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003103/0.1213, allocations: 169.4 kB / 497.1 MB, free: 4.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1213, allocations: 8 kB / 497.1 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1213, allocations: 7.938 kB / 497.1 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1214, allocations: 4 kB / 497.1 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.1215, allocations: 43.91 kB / 497.1 MB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1216, allocations: 4 kB / 497.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.313e-05/0.1217, allocations: 28.09 kB / 497.2 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1217, allocations: 7.984 kB / 497.2 MB, free: 4.195 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.694e-05/0.1218, allocations: 125.8 kB / 497.3 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.1218, allocations: 7.906 kB / 497.3 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.1221, allocations: 137.9 kB / 497.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1221, allocations: 0 / 497.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1221, allocations: 0 / 497.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1221, allocations: 0 / 497.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1223, allocations: 201.5 kB / 497.6 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1224, allocations: 0 / 497.6 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1225, allocations: 31.98 kB / 497.7 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1225, allocations: 0 / 497.7 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1225, allocations: 8 kB / 497.7 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1225, allocations: 0 / 497.7 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1225, allocations: 3.984 kB / 497.7 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.1229, allocations: 227.3 kB / 497.9 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.1229, allocations: 84.95 kB / 498 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1229, allocations: 0 / 498 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.609e-05/0.123, allocations: 11.98 kB / 498 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.1231, allocations: 7.984 kB / 498 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.1231, allocations: 4 kB / 498 MB, free: 3.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.1232, allocations: 95.27 kB / 498.1 MB, free: 3.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1232, allocations: 7.938 kB / 498.1 MB, free: 3.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.1234, allocations: 19.91 kB / 498.1 MB, free: 3.141 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005716/0.124, allocations: 0.7631 MB / 498.9 MB, free: 2.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.1243, allocations: 104.4 kB / 499 MB, free: 2.246 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1243, allocations: 0 / 499 MB, free: 2.246 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.1244, allocations: 52.38 kB / 499 MB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.1247, allocations: 8 kB / 499.1 MB, free: 2.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1258, allocations: 0.7804 MB / 499.8 MB, free: 1.324 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.126, allocations: 0.7121 MB / 0.4888 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.1261, allocations: 27.44 kB / 0.4888 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1261, allocations: 4 kB / 0.4888 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.8/2.926, allocations: 1.607 MB / 0.4904 GB, free: 42.38 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches