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.001395/0.001395, allocations: 111.4 kB / 17.09 MB, free: 5.984 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.001332/0.001332, allocations: 198.1 kB / 18.02 MB, free: 5.066 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.562/1.562, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.1998/0.1998, allocations: 43.52 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.001464/0.001464, allocations: 67.91 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1059, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003127/0.109, allocations: 1.802 MB / 0.4903 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.1115, allocations: 1.376 MB / 0.4917 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1117, allocations: 0 / 0.4917 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.1119, allocations: 43.77 kB / 0.4917 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1122, allocations: 51.61 kB / 0.4918 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007297/0.1129, allocations: 247 kB / 0.492 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.1131, allocations: 107.4 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.1132, allocations: 9.109 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.1133, allocations: 51.78 kB / 0.4922 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1134, allocations: 55.7 kB / 0.4922 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1134, allocations: 4 kB / 0.4922 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007599/0.1142, allocations: 0.4913 MB / 0.4927 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.1142, allocations: 15.86 kB / 0.4927 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.836e-05/0.1143, allocations: 47.72 kB / 0.4928 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.115, allocations: 355 kB / 0.4931 GB, free: 7.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.115, allocations: 0 / 0.4931 GB, free: 7.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.115, allocations: 0 / 0.4931 GB, free: 7.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.115, allocations: 0 / 0.4931 GB, free: 7.102 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.0007411/0.1157, allocations: 446.9 kB / 0.4935 GB, free: 6.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.1158, allocations: 19.83 kB / 0.4935 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.1159, allocations: 16.83 kB / 0.4936 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.1161, allocations: 172.3 kB / 0.4937 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.1161, allocations: 12.38 kB / 0.4937 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.1161, allocations: 20.03 kB / 0.4938 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.1165, allocations: 138.1 kB / 0.4939 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1165, allocations: 0 / 0.4939 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.1166, allocations: 8 kB / 0.4939 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1166, allocations: 0 / 0.4939 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.1169, allocations: 139.8 kB / 0.494 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009388/0.1178, allocations: 0.5065 MB / 0.4945 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.1181, allocations: 110.6 kB / 0.4946 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.1183, allocations: 48.83 kB / 0.4947 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.1184, allocations: 7.969 kB / 0.4947 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1184, allocations: 38.5 kB / 0.4947 GB, free: 5.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.1184, allocations: 0 / 0.4947 GB, free: 5.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005062/0.1189, allocations: 165.5 kB / 0.4949 GB, free: 5.094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.119, allocations: 55.41 kB / 0.4949 GB, free: 5.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1191, allocations: 113.8 kB / 0.495 GB, free: 4.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1191, allocations: 29.7 kB / 0.4951 GB, free: 4.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.1192, allocations: 111.7 kB / 0.4952 GB, free: 4.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.1192, allocations: 35.45 kB / 0.4952 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.1193, allocations: 33.7 kB / 0.4952 GB, free: 4.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1194, allocations: 318.8 kB / 0.4955 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1195, allocations: 39.97 kB / 0.4956 GB, free: 4.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.1197, allocations: 85.05 kB / 0.4957 GB, free: 4.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.12, allocations: 129 kB / 0.4958 GB, free: 4.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.12, allocations: 3.938 kB / 0.4958 GB, free: 4.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003265/0.1203, allocations: 165.4 kB / 0.4959 GB, free: 3.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1203, allocations: 8 kB / 0.496 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1203, allocations: 0 / 0.496 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1204, allocations: 4 kB / 0.496 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.1206, allocations: 44.28 kB / 0.496 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003263/0.1209, allocations: 0.5861 MB / 0.4966 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.121, allocations: 23.98 kB / 0.4966 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1211, allocations: 12 kB / 0.4966 GB, free: 3.207 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 9.03e-05/0.1211, allocations: 129.5 kB / 0.4967 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.1212, allocations: 7.906 kB / 0.4967 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.1216, allocations: 162 kB / 0.4969 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1216, allocations: 4 kB / 0.4969 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1216, allocations: 0 / 0.4969 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.576e-05/0.1217, allocations: 96.88 kB / 0.497 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1217, allocations: 7.938 kB / 0.497 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1219, allocations: 7.984 kB / 0.497 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.1219, allocations: 15.98 kB / 0.497 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005331/0.1225, allocations: 249.7 kB / 0.4973 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005279/0.123, allocations: 386.4 kB / 0.4976 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001338/0.1231, allocations: 55.98 kB / 0.4977 GB, free: 2.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.42e-05/0.1232, allocations: 95.2 kB / 0.4978 GB, free: 1.945 MB / 382.1 MB Notification: Performance of Backend: time 3.3e-07/0.1232, allocations: 0 / 0.4978 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000824/0.124, allocations: 238.2 kB / 0.498 GB, free: 1.707 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006896/0.1247, allocations: 0.7081 MB / 0.4987 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of Templates: time 0.005852/0.1306, allocations: 2.874 MB / 0.5015 GB, free: 14.09 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