Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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|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_4.0.0_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|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_4.0.0_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.00137/0.00137, allocations: 108.8 kB / 17.21 MB, free: 6.27 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.001247/0.001247, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 241.8 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2119/0.2119, allocations: 44.17 MB / 336.1 MB, free: 3.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 61.12 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1103, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003043/0.1134, allocations: 1.858 MB / 470.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.1155, allocations: 1.356 MB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.878e-05/0.1156, allocations: 0 / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.1159, allocations: 43.8 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1161, allocations: 43.7 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/0.1167, allocations: 207.3 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1168, allocations: 95.47 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.1169, allocations: 12.98 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.117, allocations: 55.72 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.965e-05/0.1171, allocations: 51.7 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1171, allocations: 4 kB / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006615/0.1178, allocations: 499 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.1178, allocations: 15.86 kB / 472.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.1179, allocations: 47.73 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004874/0.1184, allocations: 347.3 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1184, allocations: 0 / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1184, allocations: 4 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1184, allocations: 7.938 kB / 473.2 MB, free: 10.2 MB / 350.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.0005787/0.119, allocations: 435.2 kB / 473.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1191, allocations: 12.03 kB / 473.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.1191, allocations: 8.844 kB / 473.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1192, allocations: 176.2 kB / 473.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1193, allocations: 8.375 kB / 473.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.1193, allocations: 16.12 kB / 473.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.1196, allocations: 141.6 kB / 473.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1196, allocations: 3.984 kB / 473.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1197, allocations: 8 kB / 474 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1197, allocations: 4 kB / 474 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003172/0.12, allocations: 132.9 kB / 474.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008926/0.1209, allocations: 0.5221 MB / 474.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.1212, allocations: 106.5 kB / 474.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.1213, allocations: 52.83 kB / 474.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1214, allocations: 4 kB / 474.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.1214, allocations: 30.56 kB / 474.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.1214, allocations: 0 / 474.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00048/0.1219, allocations: 165.5 kB / 475 MB, free: 8.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.1219, allocations: 55.41 kB / 475 MB, free: 8.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/0.122, allocations: 113.8 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.122, allocations: 29.7 kB / 475.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.1221, allocations: 115.8 kB / 475.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.1221, allocations: 31.47 kB / 475.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.1222, allocations: 37.61 kB / 475.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1223, allocations: 318.8 kB / 475.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1224, allocations: 47.91 kB / 475.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.1226, allocations: 75.94 kB / 475.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.1229, allocations: 140.9 kB / 475.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1229, allocations: 0 / 475.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003424/0.1232, allocations: 153.9 kB / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1233, allocations: 8.156 kB / 476.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1233, allocations: 4.375 kB / 476.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1233, allocations: 3.984 kB / 476.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.1235, allocations: 39.97 kB / 476.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003412/0.1239, allocations: 0.5975 MB / 476.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.124, allocations: 11.97 kB / 476.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.124, allocations: 16.08 kB / 476.7 MB, free: 6.324 MB / 350.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.109e-05/0.1241, allocations: 121.7 kB / 476.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.1241, allocations: 7.906 kB / 476.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.1246, allocations: 165.9 kB / 477 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1246, allocations: 0 / 477 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.1246, allocations: 11.92 kB / 477 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1246, allocations: 0 / 477 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.1249, allocations: 213.6 kB / 477.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1249, allocations: 0 / 477.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.1251, allocations: 43.91 kB / 477.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1251, allocations: 4 kB / 477.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1251, allocations: 3.938 kB / 477.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002862/0.1254, allocations: 0.586 MB / 477.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1254, allocations: 0 / 477.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.1259, allocations: 307.4 kB / 478.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.126, allocations: 96.91 kB / 478.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.126, allocations: 0 / 478.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1262, allocations: 11.98 kB / 478.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.1262, allocations: 11.98 kB / 478.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1262, allocations: 4 kB / 478.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.516e-05/0.1263, allocations: 91.27 kB / 478.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1263, allocations: 0 / 478.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.1267, allocations: 75.84 kB / 478.5 MB, free: 4.469 MB / 350.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.0003074/0.127, allocations: 171.7 kB / 478.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.1274, allocations: 127.9 kB / 478.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1274, allocations: 3.938 kB / 478.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.1276, allocations: 71.95 kB / 478.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.128, allocations: 15.81 kB / 478.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007026/0.1287, allocations: 356.9 kB / 479.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.1289, allocations: 0.7043 MB / 479.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.658e-05/0.129, allocations: 24.77 kB / 479.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.1291, allocations: 11.44 kB / 479.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of SimCode: time 1.774e-06/0.1291, allocations: 0 / 479.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of Templates: time 0.005565/0.1347, allocations: 2.152 MB / 482.1 MB, free: 0.8281 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches