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_suddenChange_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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 116.5 kB / 17.08 MB, free: 6.008 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.001229/0.001229, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.399/1.399, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2029/0.2029, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 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.001572/0.001572, allocations: 67.88 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1021, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003245/0.1054, allocations: 1.803 MB / 0.4903 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.1077, allocations: 1.376 MB / 0.4917 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1078, allocations: 4 kB / 0.4917 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.1081, allocations: 43.77 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1083, allocations: 55.5 kB / 0.4918 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.109, allocations: 243.1 kB / 0.492 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1092, allocations: 103.5 kB / 0.4921 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.1092, allocations: 13.09 kB / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.1094, allocations: 51.73 kB / 0.4922 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/0.1095, allocations: 47.77 kB / 0.4922 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1095, allocations: 7.984 kB / 0.4922 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007217/0.1102, allocations: 0.4951 MB / 0.4927 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.1103, allocations: 15.92 kB / 0.4927 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.201e-05/0.1103, allocations: 47.66 kB / 0.4928 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005474/0.1109, allocations: 347.1 kB / 0.4931 GB, free: 7.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1109, allocations: 3.938 kB / 0.4931 GB, free: 7.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1109, allocations: 0 / 0.4931 GB, free: 7.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1109, allocations: 0 / 0.4931 GB, free: 7.133 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006124/0.1115, allocations: 454.9 kB / 0.4935 GB, free: 6.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1116, allocations: 19.89 kB / 0.4935 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.818e-05/0.1116, allocations: 12.84 kB / 0.4936 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.1118, allocations: 168.3 kB / 0.4937 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.1118, allocations: 8.375 kB / 0.4937 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.1119, allocations: 23.97 kB / 0.4937 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.1123, allocations: 142.1 kB / 0.4939 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1123, allocations: 0 / 0.4939 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.1123, allocations: 11.98 kB / 0.4939 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1123, allocations: 0 / 0.4939 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.1127, allocations: 139.9 kB / 0.494 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009419/0.1137, allocations: 0.5026 MB / 0.4945 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.1139, allocations: 110.5 kB / 0.4946 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.1141, allocations: 48.83 kB / 0.4947 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1141, allocations: 0 / 0.4947 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1142, allocations: 34.56 kB / 0.4947 GB, free: 5.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.1142, allocations: 0 / 0.4947 GB, free: 5.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00049/0.1147, allocations: 157.5 kB / 0.4949 GB, free: 5.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.1147, allocations: 63.34 kB / 0.4949 GB, free: 5.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.694e-05/0.1148, allocations: 117.7 kB / 0.495 GB, free: 4.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1148, allocations: 29.7 kB / 0.4951 GB, free: 4.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.408e-05/0.1149, allocations: 115.7 kB / 0.4952 GB, free: 4.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.115, allocations: 39.45 kB / 0.4952 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.115, allocations: 25.72 kB / 0.4952 GB, free: 4.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1151, allocations: 322.8 kB / 0.4955 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1153, allocations: 39.97 kB / 0.4956 GB, free: 4.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.1154, allocations: 81.11 kB / 0.4956 GB, free: 4.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.1157, allocations: 141.3 kB / 0.4958 GB, free: 4.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1157, allocations: 3.938 kB / 0.4958 GB, free: 4.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000348/0.1161, allocations: 153.5 kB / 0.4959 GB, free: 3.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1161, allocations: 8 kB / 0.4959 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1161, allocations: 3.984 kB / 0.4959 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1161, allocations: 4.375 kB / 0.496 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.1164, allocations: 43.97 kB / 0.496 GB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003768/0.1168, allocations: 0.5938 MB / 0.4966 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.1169, allocations: 16.06 kB / 0.4966 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.1169, allocations: 15.92 kB / 0.4966 GB, free: 3.234 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.117, allocations: 125.6 kB / 0.4967 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.475e-05/0.1171, allocations: 7.906 kB / 0.4967 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.1175, allocations: 169.9 kB / 0.4969 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1175, allocations: 3.984 kB / 0.4969 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1175, allocations: 3.938 kB / 0.4969 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1175, allocations: 0 / 0.4969 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.1178, allocations: 217.5 kB / 0.4971 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1178, allocations: 0 / 0.4971 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.118, allocations: 43.97 kB / 0.4971 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1181, allocations: 7.938 kB / 0.4972 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1181, allocations: 4 kB / 0.4972 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003116/0.1184, allocations: 0.5898 MB / 0.4977 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1184, allocations: 0 / 0.4977 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.1189, allocations: 295.5 kB / 0.498 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.119, allocations: 96.97 kB / 0.4981 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.119, allocations: 0 / 0.4981 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.1191, allocations: 15.97 kB / 0.4981 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.1192, allocations: 7.984 kB / 0.4981 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1192, allocations: 8 kB / 0.4981 GB, free: 1.527 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.07e-05/0.1193, allocations: 91.2 kB / 0.4982 GB, free: 1.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1193, allocations: 0 / 0.4982 GB, free: 1.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003894/0.1197, allocations: 79.94 kB / 0.4983 GB, free: 1.359 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003544/0.12, allocations: 163.1 kB / 0.4985 GB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004105/0.1205, allocations: 123.9 kB / 0.4986 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1205, allocations: 0 / 0.4986 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.1207, allocations: 75.89 kB / 0.4987 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.121, allocations: 10.66 kB / 0.4987 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006926/0.1217, allocations: 345.5 kB / 0.499 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.122, allocations: 0.7002 MB / 0.4997 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.1221, allocations: 27.36 kB / 0.4997 GB, free: 15.86 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1221, allocations: 0 / 0.4997 GB, free: 15.86 MB / 398.1 MB Notification: Performance of Templates: time 0.004829/0.1269, allocations: 2.51 MB / 0.5022 GB, free: 13.35 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches