Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.0008429/0.000843, allocations: 175.1 kB / 16.72 MB, free: 5.059 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.245/1.245, 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.0007394/0.0007395, allocations: 92.95 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.3103/0.3103, allocations: 43.57 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003578, allocations: 12 kB / 432.1 MB, free: 5.703 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1098, allocations: 58.84 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.001828/0.1117, allocations: 1.516 MB / 492.5 MB, free: 9.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1134, allocations: 1.257 MB / 493.7 MB, free: 7.984 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.1134, allocations: 4 kB / 493.7 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.1137, allocations: 51.73 kB / 493.8 MB, free: 7.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.1139, allocations: 91.56 kB / 493.9 MB, free: 7.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.1143, allocations: 183.4 kB / 494 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003831/0.1147, allocations: 421.7 kB / 494.5 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.603e-05/0.1148, allocations: 48.72 kB / 494.5 MB, free: 7.199 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.115, allocations: 139.2 kB / 494.6 MB, free: 7.062 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.1152, allocations: 179.2 kB / 494.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.1152, allocations: 12 kB / 494.8 MB, free: 6.875 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006097/0.1158, allocations: 439 kB / 495.3 MB, free: 6.445 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.116, allocations: 123.4 kB / 495.4 MB, free: 6.324 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.1162, allocations: 204.5 kB / 495.6 MB, free: 6.117 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.1166, allocations: 415.2 kB / 496 MB, free: 5.711 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1167, allocations: 7.984 kB / 496 MB, free: 5.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1167, allocations: 0 / 496 MB, free: 5.703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1167, allocations: 0 / 496 MB, free: 5.703 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.0009732/0.1177, allocations: 0.6979 MB / 496.7 MB, free: 4.953 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1177, allocations: 12.03 kB / 496.7 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.348e-05/0.1178, allocations: 98.64 kB / 496.8 MB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.1179, allocations: 56.22 kB / 496.9 MB, free: 4.781 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.1182, allocations: 315.5 kB / 497.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.1183, allocations: 37.36 kB / 497.2 MB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.1183, allocations: 43.94 kB / 497.2 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/0.1193, allocations: 0.6992 MB / 497.9 MB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.1193, allocations: 7.984 kB / 497.9 MB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.1193, allocations: 16 kB / 498 MB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.851e-05/0.1194, allocations: 61.27 kB / 498 MB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009891/0.1204, allocations: 0.735 MB / 498.8 MB, free: 2.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.1226, allocations: 1.708 MB / 0.4887 GB, free: 0.9961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/0.1232, allocations: 358.7 kB / 0.4891 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.1235, allocations: 145.2 kB / 0.4892 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.713e-05/0.1236, allocations: 16.2 kB / 0.4892 GB, free: 488 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1236, allocations: 38.8 kB / 0.4893 GB, free: 440 kB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.1236, allocations: 0 / 0.4893 GB, free: 440 kB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.1934/0.317, allocations: 0.4943 MB / 0.4897 GB, free: 43.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.3171, allocations: 54.41 kB / 0.4898 GB, free: 43.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005997/0.3177, allocations: 448.3 kB / 0.4902 GB, free: 43.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.3177, allocations: 31.02 kB / 0.4903 GB, free: 43.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.3179, allocations: 264.8 kB / 0.4905 GB, free: 43.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.318, allocations: 98.58 kB / 0.4906 GB, free: 43.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.318, allocations: 7.312 kB / 0.4906 GB, free: 43.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.3181, allocations: 347.1 kB / 0.4909 GB, free: 42.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.3184, allocations: 145.8 kB / 0.4911 GB, free: 42.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.3188, allocations: 259.7 kB / 0.4913 GB, free: 42.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.3194, allocations: 432.8 kB / 0.4917 GB, free: 42.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3194, allocations: 2.594 kB / 0.4917 GB, free: 42.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000848/0.3203, allocations: 495.2 kB / 0.4922 GB, free: 42.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3203, allocations: 5.719 kB / 0.4922 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3203, allocations: 4.656 kB / 0.4922 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.3204, allocations: 10.06 kB / 0.4922 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005996/0.321, allocations: 165.9 kB / 0.4924 GB, free: 42.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.3222, allocations: 3.611 MB / 0.4959 GB, free: 38.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.3225, allocations: 57.25 kB / 0.496 GB, free: 38.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.3225, allocations: 26.61 kB / 0.496 GB, free: 38.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002479/0.3228, allocations: 217.5 kB / 0.4962 GB, free: 38.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.3229, allocations: 38.58 kB / 0.4962 GB, free: 38.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.3241, allocations: 0.5471 MB / 0.4968 GB, free: 38.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.3241, allocations: 3.766 kB / 0.4968 GB, free: 38.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3241, allocations: 5.438 kB / 0.4968 GB, free: 38.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3242, allocations: 2.719 kB / 0.4968 GB, free: 38.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005943/0.3248, allocations: 458.1 kB / 0.4972 GB, free: 38.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3248, allocations: 1.125 kB / 0.4972 GB, free: 38.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005102/0.3253, allocations: 143.9 kB / 0.4974 GB, free: 38.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3253, allocations: 1.953 kB / 0.4974 GB, free: 38.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.3253, allocations: 13.33 kB / 0.4974 GB, free: 38.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.3264, allocations: 3.603 MB / 0.5009 GB, free: 34.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3264, allocations: 0 / 0.5009 GB, free: 34.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.3275, allocations: 0.6789 MB / 0.5016 GB, free: 34.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.3276, allocations: 156.1 kB / 0.5017 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.3277, allocations: 12.75 kB / 0.5017 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.3279, allocations: 16.14 kB / 0.5017 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/0.328, allocations: 28.47 kB / 0.5018 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.328, allocations: 15.78 kB / 0.5018 GB, free: 34.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000366/0.3284, allocations: 341.7 kB / 0.5021 GB, free: 34.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3284, allocations: 0 / 0.5021 GB, free: 34.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005269/0.3289, allocations: 173.3 kB / 0.5023 GB, free: 34.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001456/0.3304, allocations: 1.293 MB / 0.5035 GB, free: 33.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.3315, allocations: 448.5 kB / 0.504 GB, free: 33.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3315, allocations: 4.062 kB / 0.504 GB, free: 33.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006097/0.3321, allocations: 261.4 kB / 0.5042 GB, free: 33.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.3325, allocations: 30.84 kB / 0.5042 GB, free: 33.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.336, allocations: 3.073 MB / 0.5072 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.3363, allocations: 0.9017 MB / 0.5081 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.3366, allocations: 182.2 kB / 0.5083 GB, free: 32.01 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3366, allocations: 0 / 0.5083 GB, free: 32.01 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.247/4.584, allocations: 18.86 MB / 0.5267 GB, free: 28.89 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches