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.00111/0.00111, allocations: 93.97 kB / 18 MB, free: 5.602 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.001426/0.001426, allocations: 177.2 kB / 18.91 MB, free: 4.738 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.337/1.337, allocations: 223.3 MB / 243 MB, free: 14.2 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.2154/0.2154, allocations: 44.24 MB / 338.3 MB, free: 2.375 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003025, allocations: 8 kB / 411 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1065, allocations: 61.93 MB / 472.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.001965/0.1085, allocations: 1.508 MB / 474.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.1106, allocations: 1.34 MB / 475.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.764e-05/0.1107, allocations: 0 / 475.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.111, allocations: 43.81 kB / 475.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.1112, allocations: 39.7 kB / 475.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.1118, allocations: 207.3 kB / 476.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.112, allocations: 107.5 kB / 476.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.35e-05/0.112, allocations: 8.984 kB / 476.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.1122, allocations: 43.8 kB / 476.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.856e-05/0.1123, allocations: 51.7 kB / 476.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1123, allocations: 4 kB / 476.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007161/0.1131, allocations: 499 kB / 476.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.1131, allocations: 11.91 kB / 476.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.1132, allocations: 73.38 kB / 476.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.1136, allocations: 227.7 kB / 477.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1136, allocations: 0 / 477.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1136, allocations: 0 / 477.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1136, allocations: 0 / 477.1 MB, free: 9.105 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.0005777/0.1142, allocations: 423.2 kB / 477.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1142, allocations: 8.031 kB / 477.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.1143, allocations: 12.84 kB / 477.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.1144, allocations: 184.2 kB / 477.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1145, allocations: 8.375 kB / 477.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.1145, allocations: 16.12 kB / 477.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.1148, allocations: 137.6 kB / 477.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1148, allocations: 4 kB / 477.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1149, allocations: 7.938 kB / 477.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1149, allocations: 4 kB / 477.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.1152, allocations: 144.9 kB / 478 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/0.1161, allocations: 0.5221 MB / 478.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.1164, allocations: 106.6 kB / 478.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.1165, allocations: 56.83 kB / 478.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.1166, allocations: 3.938 kB / 478.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1166, allocations: 38.5 kB / 478.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.1166, allocations: 0 / 478.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005267/0.1171, allocations: 181.8 kB / 478.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.1172, allocations: 51.41 kB / 479 MB, free: 7.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.655e-05/0.1173, allocations: 121.8 kB / 479.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1173, allocations: 29.7 kB / 479.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.1174, allocations: 111.8 kB / 479.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.1174, allocations: 35.45 kB / 479.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.1175, allocations: 17.72 kB / 479.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1176, allocations: 322.8 kB / 479.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1177, allocations: 47.84 kB / 479.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1179, allocations: 89.06 kB / 479.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.1182, allocations: 141 kB / 479.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1182, allocations: 0 / 479.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000366/0.1186, allocations: 165.4 kB / 480 MB, free: 5.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1186, allocations: 8 kB / 480 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1186, allocations: 0 / 480 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1186, allocations: 4 kB / 480 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.1189, allocations: 55.89 kB / 480.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003416/0.1192, allocations: 0.6018 MB / 480.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1194, allocations: 11.91 kB / 480.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1194, allocations: 4 kB / 480.7 MB, free: 5.18 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 0.0001013/0.1195, allocations: 133.6 kB / 480.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.1195, allocations: 12 kB / 480.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004492/0.12, allocations: 178.3 kB / 481 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.12, allocations: 7.938 kB / 481 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.12, allocations: 3.938 kB / 481 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.12, allocations: 3.984 kB / 481 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.1203, allocations: 213.5 kB / 481.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1203, allocations: 0 / 481.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.1205, allocations: 39.98 kB / 481.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1205, allocations: 7.984 kB / 481.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1205, allocations: 4 kB / 481.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002884/0.1208, allocations: 0.586 MB / 481.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1208, allocations: 3.938 kB / 481.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.1213, allocations: 311.5 kB / 482.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.1214, allocations: 96.91 kB / 482.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.1215, allocations: 0 / 482.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.1216, allocations: 20.05 kB / 482.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.1216, allocations: 7.984 kB / 482.3 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1217, allocations: 4 kB / 482.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.945e-05/0.1217, allocations: 91.27 kB / 482.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1217, allocations: 0 / 482.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004151/0.1221, allocations: 71.94 kB / 482.5 MB, free: 3.285 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.0003366/0.1225, allocations: 175.8 kB / 482.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004408/0.1229, allocations: 138.6 kB / 482.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1229, allocations: 4 kB / 482.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.1232, allocations: 75.89 kB / 482.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.1235, allocations: 19.88 kB / 482.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/0.1243, allocations: 402 kB / 483.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.1247, allocations: 0.7083 MB / 484 MB, free: 1.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.1247, allocations: 23.42 kB / 484 MB, free: 1.691 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1248, allocations: 0 / 484 MB, free: 1.691 MB / 350.1 MB Notification: Performance of Templates: time 0.004978/0.1297, allocations: 2.467 MB / 486.5 MB, free: 15.23 MB / 366.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/jenkins1/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/jenkins1/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