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.001203/0.001203, allocations: 110.9 kB / 17.08 MB, free: 5.82 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.001202/0.001202, allocations: 197.3 kB / 18.01 MB, free: 4.965 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.306/1.306, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.2064/0.2064, allocations: 43.53 MB / 314.8 MB, free: 460 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.0016/0.0016, allocations: 64.28 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1177, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003291/0.121, allocations: 1.807 MB / 0.4903 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.1233, allocations: 1.376 MB / 0.4917 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1235, allocations: 0 / 0.4917 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.1238, allocations: 47.75 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.124, allocations: 47.62 kB / 0.4918 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007429/0.1248, allocations: 243 kB / 0.492 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.125, allocations: 103.4 kB / 0.4921 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.909e-05/0.1251, allocations: 17.08 kB / 0.4921 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.1252, allocations: 47.8 kB / 0.4922 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1254, allocations: 47.7 kB / 0.4922 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.1254, allocations: 11.98 kB / 0.4922 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008378/0.1263, allocations: 0.4913 MB / 0.4927 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.1263, allocations: 15.86 kB / 0.4927 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.771e-05/0.1264, allocations: 47.72 kB / 0.4928 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006368/0.127, allocations: 351.1 kB / 0.4931 GB, free: 7.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.127, allocations: 0 / 0.4931 GB, free: 7.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.127, allocations: 0 / 0.4931 GB, free: 7.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1271, allocations: 0 / 0.4931 GB, free: 7.141 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.0006942/0.1278, allocations: 451 kB / 0.4935 GB, free: 6.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1278, allocations: 23.77 kB / 0.4935 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.1279, allocations: 8.844 kB / 0.4936 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.128, allocations: 172.3 kB / 0.4937 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.128, allocations: 8.375 kB / 0.4937 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.1281, allocations: 20.03 kB / 0.4937 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.1284, allocations: 138.1 kB / 0.4939 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1284, allocations: 3.984 kB / 0.4939 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.1285, allocations: 8 kB / 0.4939 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1285, allocations: 0 / 0.4939 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.1288, allocations: 143.8 kB / 0.494 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009402/0.1297, allocations: 0.5065 MB / 0.4945 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.13, allocations: 102.6 kB / 0.4946 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.1302, allocations: 52.83 kB / 0.4947 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.1302, allocations: 0 / 0.4947 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1303, allocations: 34.56 kB / 0.4947 GB, free: 5.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1303, allocations: 0 / 0.4947 GB, free: 5.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005044/0.1308, allocations: 165.4 kB / 0.4949 GB, free: 5.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.1308, allocations: 55.41 kB / 0.4949 GB, free: 5.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/0.1309, allocations: 117.8 kB / 0.495 GB, free: 4.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.131, allocations: 25.7 kB / 0.495 GB, free: 4.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.131, allocations: 115.7 kB / 0.4952 GB, free: 4.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.1311, allocations: 43.45 kB / 0.4952 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.1311, allocations: 29.7 kB / 0.4952 GB, free: 4.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1313, allocations: 326.8 kB / 0.4955 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1314, allocations: 35.97 kB / 0.4956 GB, free: 4.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.1315, allocations: 85.06 kB / 0.4957 GB, free: 4.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.1318, allocations: 129 kB / 0.4958 GB, free: 4.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1318, allocations: 0 / 0.4958 GB, free: 4.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003558/0.1322, allocations: 165.4 kB / 0.4959 GB, free: 3.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1322, allocations: 8 kB / 0.4959 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1322, allocations: 0 / 0.4959 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1323, allocations: 4 kB / 0.4959 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.1325, allocations: 48.28 kB / 0.496 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003972/0.1329, allocations: 0.59 MB / 0.4966 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.133, allocations: 19.91 kB / 0.4966 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.133, allocations: 11.98 kB / 0.4966 GB, free: 3.246 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.0001084/0.1332, allocations: 133.5 kB / 0.4967 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.1332, allocations: 11.91 kB / 0.4967 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004233/0.1336, allocations: 158 kB / 0.4969 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.1337, allocations: 0 / 0.4969 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1337, allocations: 3.938 kB / 0.4969 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1337, allocations: 3.984 kB / 0.4969 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.1339, allocations: 217.5 kB / 0.4971 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1339, allocations: 0 / 0.4971 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.1342, allocations: 43.92 kB / 0.4971 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1342, allocations: 7.984 kB / 0.4972 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.1342, allocations: 8 kB / 0.4972 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002895/0.1345, allocations: 0.5821 MB / 0.4977 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1345, allocations: 7.875 kB / 0.4977 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004937/0.135, allocations: 295.4 kB / 0.498 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.1351, allocations: 101 kB / 0.4981 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1351, allocations: 0 / 0.4981 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1352, allocations: 11.98 kB / 0.4981 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.1353, allocations: 7.984 kB / 0.4981 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.1353, allocations: 4 kB / 0.4981 GB, free: 1.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.311e-05/0.1354, allocations: 91.27 kB / 0.4982 GB, free: 1.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1354, allocations: 0 / 0.4982 GB, free: 1.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003582/0.1357, allocations: 75.94 kB / 0.4983 GB, free: 1.375 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.0003471/0.1361, allocations: 171.1 kB / 0.4985 GB, free: 1.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004032/0.1365, allocations: 123.8 kB / 0.4986 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1365, allocations: 0 / 0.4986 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.1367, allocations: 71.89 kB / 0.4986 GB, free: 1.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1371, allocations: 14.66 kB / 0.4987 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007481/0.1378, allocations: 345.6 kB / 0.499 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.1381, allocations: 0.7041 MB / 0.4997 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.1382, allocations: 19.42 kB / 0.4997 GB, free: 15.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1382, allocations: 0 / 0.4997 GB, free: 15.88 MB / 398.1 MB Notification: Performance of Templates: time 0.005167/0.1434, allocations: 2.494 MB / 0.5021 GB, free: 13.38 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