Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009279/0.0009279, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 8 kB / 419.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1157, allocations: 63.57 MB / 483.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.00232/0.1181, allocations: 1.528 MB / 484.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1207, allocations: 1.383 MB / 486 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.277e-05/0.1208, allocations: 0 / 486 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.1211, allocations: 39.8 kB / 486.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1213, allocations: 51.69 kB / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.1219, allocations: 206.6 kB / 486.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.1221, allocations: 99.47 kB / 486.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.1222, allocations: 5.125 kB / 486.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.1224, allocations: 63.64 kB / 486.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/0.1225, allocations: 47.72 kB / 486.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1225, allocations: 4 kB / 486.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007802/0.1233, allocations: 0.499 MB / 487 MB, free: 176 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.1234, allocations: 15.92 kB / 487.1 MB, free: 160 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.935e-05/0.1234, allocations: 73.36 kB / 487.1 MB, free: 80 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006228/0.1241, allocations: 359.2 kB / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1241, allocations: 0 / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1241, allocations: 0 / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1241, allocations: 4 kB / 487.5 MB, free: 15.72 MB / 366.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.0005883/0.1247, allocations: 427.2 kB / 487.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1248, allocations: 12.88 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.1248, allocations: 8.844 kB / 487.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.125, allocations: 180.1 kB / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.125, allocations: 8.375 kB / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.1251, allocations: 16.12 kB / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.1254, allocations: 149.6 kB / 488.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1254, allocations: 0 / 488.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.1254, allocations: 4 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1255, allocations: 4 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.1258, allocations: 147.9 kB / 488.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.1267, allocations: 0.5065 MB / 488.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.127, allocations: 122.5 kB / 489 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.1272, allocations: 52.83 kB / 489.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.1272, allocations: 7.984 kB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.1272, allocations: 34.56 kB / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1272, allocations: 0 / 489.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005037/0.1277, allocations: 185.4 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.1278, allocations: 55.41 kB / 489.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.1279, allocations: 109.8 kB / 489.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1279, allocations: 29.7 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.1279, allocations: 107.8 kB / 489.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.128, allocations: 39.77 kB / 489.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.128, allocations: 21.7 kB / 489.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.1281, allocations: 322.8 kB / 490 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.1283, allocations: 39.97 kB / 490 MB, free: 12.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.1284, allocations: 93.05 kB / 490.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.1288, allocations: 145.4 kB / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1288, allocations: 0 / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003656/0.1291, allocations: 177.3 kB / 490.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1292, allocations: 4 kB / 490.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.1292, allocations: 4 kB / 490.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1292, allocations: 4 kB / 490.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.1294, allocations: 47.97 kB / 490.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003574/0.1298, allocations: 0.5939 MB / 491.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.1299, allocations: 19.89 kB / 491.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.13, allocations: 4 kB / 491.1 MB, free: 11.79 MB / 366.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.0001008/0.1301, allocations: 121.8 kB / 491.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.1301, allocations: 7.906 kB / 491.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004497/0.1305, allocations: 189.9 kB / 491.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1306, allocations: 0 / 491.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.1306, allocations: 3.938 kB / 491.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1306, allocations: 4 kB / 491.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.1308, allocations: 213.5 kB / 491.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1308, allocations: 0 / 491.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.1311, allocations: 43.97 kB / 491.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1311, allocations: 0 / 491.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1311, allocations: 4 kB / 491.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002884/0.1314, allocations: 0.5937 MB / 492.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1314, allocations: 0 / 492.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.1319, allocations: 307.4 kB / 492.6 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.132, allocations: 96.97 kB / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.132, allocations: 0 / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1321, allocations: 15.98 kB / 492.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.1322, allocations: 15.92 kB / 492.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.1322, allocations: 4 kB / 492.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.436e-05/0.1323, allocations: 95.27 kB / 492.8 MB, free: 9.977 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1323, allocations: 4.062 kB / 492.8 MB, free: 9.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000419/0.1327, allocations: 79.92 kB / 492.9 MB, free: 9.895 MB / 366.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.0003732/0.1331, allocations: 179 kB / 493.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004476/0.1336, allocations: 131.9 kB / 493.2 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1336, allocations: 320 / 493.2 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.1338, allocations: 79.89 kB / 493.3 MB, free: 9.504 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.1341, allocations: 16.22 kB / 493.3 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007087/0.1348, allocations: 383.6 kB / 493.7 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.1352, allocations: 0.7043 MB / 494.4 MB, free: 8.355 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.921e-05/0.1353, allocations: 20.48 kB / 494.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.1353, allocations: 19.44 kB / 494.4 MB, free: 8.316 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1353, allocations: 0 / 494.4 MB, free: 8.316 MB / 366.1 MB Notification: Performance of Templates: time 0.00571/0.141, allocations: 2.211 MB / 496.6 MB, free: 6.137 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches