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.0018/0.0018, allocations: 110.9 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.00206/0.00206, allocations: 195.4 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.527/1.527, 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.257/0.257, allocations: 43.53 MB / 314.8 MB, free: 448 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.0022/0.0022, allocations: 71.89 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1233, 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.003454/0.1268, allocations: 1.798 MB / 0.4903 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.129, allocations: 1.376 MB / 0.4917 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.1292, allocations: 0 / 0.4917 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.1294, allocations: 43.75 kB / 0.4917 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.1297, allocations: 55.61 kB / 0.4918 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007446/0.1304, allocations: 255 kB / 0.492 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1306, allocations: 99.45 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.563e-05/0.1307, allocations: 9.109 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.1308, allocations: 55.77 kB / 0.4922 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1309, allocations: 47.72 kB / 0.4922 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1309, allocations: 4 kB / 0.4922 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008074/0.1318, allocations: 0.5029 MB / 0.4927 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.1318, allocations: 11.92 kB / 0.4927 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.1319, allocations: 47.67 kB / 0.4928 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006984/0.1326, allocations: 351.1 kB / 0.4931 GB, free: 7.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1326, allocations: 0 / 0.4931 GB, free: 7.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1326, allocations: 0 / 0.4931 GB, free: 7.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1326, 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.0006229/0.1332, allocations: 450.9 kB / 0.4935 GB, free: 6.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1333, allocations: 19.83 kB / 0.4936 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.1333, allocations: 12.84 kB / 0.4936 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1335, allocations: 172.3 kB / 0.4937 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1335, allocations: 8.375 kB / 0.4937 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.1336, allocations: 20.03 kB / 0.4938 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.1339, allocations: 146 kB / 0.4939 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1339, allocations: 0 / 0.4939 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1339, allocations: 4 kB / 0.4939 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1339, allocations: 4 kB / 0.4939 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/0.1343, allocations: 135.9 kB / 0.494 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009141/0.1352, allocations: 0.5104 MB / 0.4945 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.1355, allocations: 110.5 kB / 0.4946 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.1356, allocations: 48.83 kB / 0.4947 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.1357, allocations: 0 / 0.4947 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1357, allocations: 34.56 kB / 0.4947 GB, free: 5.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.1357, allocations: 0 / 0.4947 GB, free: 5.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004981/0.1362, allocations: 161.5 kB / 0.4949 GB, free: 5.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.1362, allocations: 55.41 kB / 0.4949 GB, free: 5.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1364, allocations: 121.7 kB / 0.495 GB, free: 4.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1364, allocations: 29.7 kB / 0.4951 GB, free: 4.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.1365, allocations: 111.7 kB / 0.4952 GB, free: 4.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.1365, allocations: 35.45 kB / 0.4952 GB, free: 4.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.1366, allocations: 33.7 kB / 0.4952 GB, free: 4.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1367, allocations: 318.8 kB / 0.4955 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1368, allocations: 39.97 kB / 0.4956 GB, free: 4.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.137, allocations: 81.11 kB / 0.4957 GB, free: 4.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.1372, allocations: 133.5 kB / 0.4958 GB, free: 4.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1373, allocations: 3.938 kB / 0.4958 GB, free: 4.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003477/0.1376, allocations: 169.3 kB / 0.496 GB, free: 3.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1376, allocations: 4 kB / 0.496 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1377, allocations: 4 kB / 0.496 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1377, allocations: 3.938 kB / 0.496 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.1379, allocations: 48.34 kB / 0.496 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003627/0.1383, allocations: 0.5821 MB / 0.4966 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1384, allocations: 28.02 kB / 0.4966 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.1384, allocations: 8 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 0.0001019/0.1385, allocations: 129.6 kB / 0.4967 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.1386, allocations: 7.906 kB / 0.4967 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.139, allocations: 165.9 kB / 0.4969 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.139, allocations: 0 / 0.4969 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.139, allocations: 4 kB / 0.4969 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.263e-05/0.1391, allocations: 96.88 kB / 0.497 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.1391, allocations: 4 kB / 0.497 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1392, allocations: 11.97 kB / 0.497 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.1393, allocations: 11.98 kB / 0.497 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004924/0.1398, allocations: 249.7 kB / 0.4973 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005113/0.1403, allocations: 386.4 kB / 0.4976 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001321/0.1405, allocations: 59.92 kB / 0.4977 GB, free: 2.035 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.003e-05/0.1405, allocations: 95.2 kB / 0.4978 GB, free: 1.941 MB / 382.1 MB Notification: Performance of Backend: time 3.51e-07/0.1405, allocations: 0 / 0.4978 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008302/0.1414, allocations: 241 kB / 0.498 GB, free: 1.703 MB / 382.1 MB Notification: Performance of SimCode: time 0.0007583/0.1421, allocations: 0.712 MB / 0.4987 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of Templates: time 0.005893/0.148, allocations: 2.813 MB / 0.5015 GB, free: 14.14 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