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.001111/0.00111, allocations: 111.6 kB / 17.98 MB, free: 4.887 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.001083/0.001083, allocations: 189.3 kB / 18.9 MB, free: 4.141 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.309/1.309, allocations: 222.9 MB / 242.6 MB, free: 15.42 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.2035/0.2035, allocations: 44.18 MB / 336.9 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.95 kB / 408.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1127, allocations: 60.83 MB / 469.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003237/0.1159, allocations: 1.859 MB / 471.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.1179, allocations: 1.329 MB / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.1179, allocations: 0 / 472.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1182, allocations: 35.83 kB / 472.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.1184, allocations: 47.69 kB / 472.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.1189, allocations: 211.4 kB / 472.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.119, allocations: 115.4 kB / 473 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.1191, allocations: 8.984 kB / 473 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.1192, allocations: 39.8 kB / 473 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.22e-05/0.1193, allocations: 51.75 kB / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1193, allocations: 7.938 kB / 473.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006311/0.1199, allocations: 499.1 kB / 473.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.12, allocations: 23.84 kB / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.12, allocations: 47.67 kB / 473.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.1203, allocations: 227.7 kB / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1204, allocations: 0 / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1204, allocations: 0 / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1204, allocations: 4 kB / 473.9 MB, free: 10.18 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.0005776/0.121, allocations: 431.2 kB / 474.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.121, allocations: 12.03 kB / 474.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.1211, allocations: 12.78 kB / 474.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.1212, allocations: 180.2 kB / 474.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1212, allocations: 8.375 kB / 474.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.1213, allocations: 20.12 kB / 474.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.1217, allocations: 138.1 kB / 474.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1217, allocations: 4 kB / 474.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1217, allocations: 0 / 474.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.1217, allocations: 4 kB / 474.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.122, allocations: 137.2 kB / 474.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008964/0.1229, allocations: 0.522 MB / 475.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.1232, allocations: 102.6 kB / 475.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.1233, allocations: 52.83 kB / 475.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.1234, allocations: 11.92 kB / 475.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1234, allocations: 34.56 kB / 475.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.1234, allocations: 0 / 475.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004612/0.1239, allocations: 165.5 kB / 475.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.1239, allocations: 55.39 kB / 475.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.542e-05/0.124, allocations: 113.8 kB / 475.9 MB, free: 8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.124, allocations: 29.7 kB / 475.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.1241, allocations: 107.8 kB / 476 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.1241, allocations: 39.45 kB / 476 MB, free: 7.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.1242, allocations: 37.61 kB / 476.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1243, allocations: 318.8 kB / 476.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1244, allocations: 47.91 kB / 476.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1246, allocations: 77.11 kB / 476.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.1249, allocations: 132.9 kB / 476.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1249, allocations: 0 / 476.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003206/0.1252, allocations: 158 kB / 476.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1252, allocations: 4 kB / 476.8 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1252, allocations: 4 kB / 476.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1253, allocations: 0 / 476.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.1255, allocations: 43.97 kB / 476.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003365/0.1258, allocations: 0.594 MB / 477.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.1259, allocations: 24.17 kB / 477.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.126, allocations: 4 kB / 477.5 MB, free: 6.309 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.657e-05/0.1261, allocations: 125.7 kB / 477.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.1261, allocations: 11.84 kB / 477.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004057/0.1265, allocations: 169.9 kB / 477.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1265, allocations: 0 / 477.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1265, allocations: 7.938 kB / 477.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1265, allocations: 0 / 477.8 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.1268, allocations: 209.6 kB / 478 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1268, allocations: 0 / 478 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.127, allocations: 43.91 kB / 478 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.127, allocations: 8 kB / 478 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.127, allocations: 4 kB / 478 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002821/0.1273, allocations: 0.5821 MB / 478.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1273, allocations: 0 / 478.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.1278, allocations: 302.3 kB / 478.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.1279, allocations: 100.9 kB / 479 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1279, allocations: 0 / 479 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.128, allocations: 11.98 kB / 479 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.1281, allocations: 11.98 kB / 479 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.1281, allocations: 0 / 479 MB, free: 4.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.531e-05/0.1281, allocations: 91.27 kB / 479.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1282, allocations: 0 / 479.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000346/0.1285, allocations: 83.89 kB / 479.2 MB, free: 4.449 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.0003018/0.1288, allocations: 163.7 kB / 479.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003944/0.1292, allocations: 139.8 kB / 479.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1292, allocations: 0 / 479.5 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.1294, allocations: 78.34 kB / 479.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.1298, allocations: 15.98 kB / 479.6 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006536/0.1304, allocations: 386 kB / 480 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1307, allocations: 0.7156 MB / 480.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.1308, allocations: 19.44 kB / 480.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1308, allocations: 0 / 480.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of Templates: time 0.004297/0.1351, allocations: 2.487 MB / 483.2 MB, free: 420 kB / 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/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