Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 96.14 kB / 15.87 MB, free: 16 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.001481/0.001481, allocations: 202.4 kB / 16.79 MB, free: 6.84 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.434/1.434, allocations: 205.1 MB / 222.6 MB, free: 4.754 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.3018/0.3018, allocations: 43.49 MB / 313.5 MB, free: 8.266 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.001458/0.001458, allocations: 64.27 kB / 382.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1019, allocations: 57.79 MB / 439.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002961/0.1049, allocations: 1.878 MB / 441.8 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1068, allocations: 1.388 MB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.29e-05/0.107, allocations: 0 / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.1072, allocations: 51.73 kB / 443.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.1075, allocations: 83.56 kB / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.1079, allocations: 195.3 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.1083, allocations: 445.8 kB / 444 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.46e-05/0.1084, allocations: 56.98 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.1086, allocations: 143.2 kB / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1088, allocations: 183 kB / 444.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.1088, allocations: 12 kB / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006459/0.1095, allocations: 459 kB / 444.8 MB, free: 9.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.1096, allocations: 131.4 kB / 444.9 MB, free: 9.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.1098, allocations: 194.6 kB / 445.1 MB, free: 9.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006523/0.1105, allocations: 0.6111 MB / 445.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1105, allocations: 0 / 445.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1105, allocations: 0 / 445.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1105, allocations: 0 / 445.7 MB, free: 8.668 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001032/0.1116, allocations: 0.7836 MB / 446.5 MB, free: 7.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1116, allocations: 12.03 kB / 446.5 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.178e-05/0.1117, allocations: 98.69 kB / 446.6 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.587e-05/0.1118, allocations: 52.28 kB / 446.7 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.1121, allocations: 315.5 kB / 447 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1122, allocations: 37.36 kB / 447 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.1122, allocations: 43.94 kB / 447.1 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008887/0.1131, allocations: 0.6914 MB / 447.8 MB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1131, allocations: 0 / 447.8 MB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.1132, allocations: 20 kB / 447.8 MB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.345e-05/0.1133, allocations: 61.27 kB / 447.8 MB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009319/0.1142, allocations: 0.7234 MB / 448.6 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.1163, allocations: 1.712 MB / 450.3 MB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.1169, allocations: 359.4 kB / 450.6 MB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.1171, allocations: 141.2 kB / 450.8 MB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.1172, allocations: 16.2 kB / 450.8 MB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.1172, allocations: 34.8 kB / 450.8 MB, free: 3.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.383e-06/0.1172, allocations: 4 kB / 450.8 MB, free: 3.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009227/0.1181, allocations: 490.8 kB / 451.3 MB, free: 2.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1182, allocations: 55.41 kB / 451.3 MB, free: 2.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.1186, allocations: 453.6 kB / 451.8 MB, free: 2.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1187, allocations: 29.7 kB / 451.8 MB, free: 2.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.1188, allocations: 259.5 kB / 452.1 MB, free: 2.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.1189, allocations: 98.66 kB / 452.2 MB, free: 1.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.119, allocations: 81.59 kB / 452.3 MB, free: 1.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1191, allocations: 350.8 kB / 452.6 MB, free: 1.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.1194, allocations: 143.8 kB / 452.7 MB, free: 1.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.1197, allocations: 253.4 kB / 453 MB, free: 1.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/0.1203, allocations: 434.2 kB / 453.4 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.1204, allocations: 3.938 kB / 453.4 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008112/0.1212, allocations: 480.6 kB / 453.9 MB, free: 112 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1212, allocations: 8 kB / 453.9 MB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1212, allocations: 7.938 kB / 453.9 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1212, allocations: 4 kB / 453.9 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1674/0.2886, allocations: 166.3 kB / 454.1 MB, free: 48.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.29, allocations: 3.605 MB / 457.7 MB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.2904, allocations: 57.62 kB / 457.7 MB, free: 45.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/0.2905, allocations: 24.25 kB / 457.7 MB, free: 45.47 MB / 382.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.2907, allocations: 229 kB / 458 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.2908, allocations: 37.14 kB / 458 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009156/0.2917, allocations: 0.5329 MB / 458.5 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2917, allocations: 5.25 kB / 458.5 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2918, allocations: 0 / 458.5 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2918, allocations: 3.938 kB / 458.5 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.2923, allocations: 458.1 kB / 459 MB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2923, allocations: 0.5156 kB / 459 MB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004783/0.2928, allocations: 139.3 kB / 459.1 MB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.2928, allocations: 2.125 kB / 459.1 MB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.2928, allocations: 13.09 kB / 459.1 MB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009819/0.2938, allocations: 3.603 MB / 462.7 MB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2938, allocations: 0.5625 kB / 462.7 MB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008699/0.2947, allocations: 0.6609 MB / 463.4 MB, free: 41.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.2949, allocations: 157.5 kB / 463.6 MB, free: 41.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.295, allocations: 12.69 kB / 463.6 MB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.2952, allocations: 17.84 kB / 463.6 MB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.2953, allocations: 32.23 kB / 463.6 MB, free: 41.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.2953, allocations: 11.62 kB / 463.6 MB, free: 41.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003521/0.2957, allocations: 348.1 kB / 464 MB, free: 41.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2957, allocations: 0 / 464 MB, free: 41.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005821/0.2963, allocations: 168.4 kB / 464.1 MB, free: 41.2 MB / 382.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001452/0.2977, allocations: 1.271 MB / 465.4 MB, free: 40.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009235/0.2987, allocations: 445.7 kB / 465.8 MB, free: 40.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2987, allocations: 3.938 kB / 465.9 MB, free: 40.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.2992, allocations: 252.5 kB / 466.1 MB, free: 40.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.2997, allocations: 42.59 kB / 466.1 MB, free: 40.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005239/0.3049, allocations: 5.142 MB / 471.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.3052, allocations: 0.9032 MB / 472.2 MB, free: 37.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003217/0.3056, allocations: 144.4 kB / 472.3 MB, free: 37.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.3058, allocations: 167.5 kB / 472.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.613e-06/0.3058, allocations: 0 / 472.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.3258, allocations: 10.61 MB / 483.1 MB, free: 36.34 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.326, allocations: 290.3 kB / 483.4 MB, free: 35.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.302, allocations: 4 kB / 483.4 MB, free: 35.95 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches