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.001357/0.001363, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.12 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 84.56 kB / 418.3 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1183, allocations: 62.44 MB / 480.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003502/0.1218, allocations: 1.813 MB / 482.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.1243, allocations: 1.398 MB / 484 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.1244, allocations: 0 / 484 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.1246, allocations: 43.69 kB / 484 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.1248, allocations: 51.64 kB / 484.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.1254, allocations: 247.1 kB / 484.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.1256, allocations: 103.4 kB / 484.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.1256, allocations: 9.125 kB / 484.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.1258, allocations: 55.7 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.937e-05/0.1259, allocations: 47.72 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1259, allocations: 8 kB / 484.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008044/0.1268, allocations: 0.503 MB / 485.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.1268, allocations: 19.86 kB / 485.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.1269, allocations: 43.73 kB / 485.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005535/0.1274, allocations: 367.2 kB / 485.5 MB, free: 488 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1274, allocations: 0 / 485.5 MB, free: 488 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1274, allocations: 0 / 485.5 MB, free: 488 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1274, allocations: 0 / 485.5 MB, free: 488 kB / 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.0006494/0.1281, allocations: 439.1 kB / 485.9 MB, free: 0 / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.1282, allocations: 8.078 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.876e-05/0.1282, allocations: 12.84 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.1284, allocations: 184.1 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.1284, allocations: 8.375 kB / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.1285, allocations: 16.12 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.1288, allocations: 141.6 kB / 486.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.1288, allocations: 0 / 486.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.1288, allocations: 4 kB / 486.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1288, allocations: 4 kB / 486.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003282/0.1292, allocations: 147.8 kB / 486.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009105/0.1301, allocations: 0.5027 MB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.1304, allocations: 114.6 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1305, allocations: 48.83 kB / 487.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1306, allocations: 0 / 487.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.1306, allocations: 38.5 kB / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1306, allocations: 0 / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000573/0.1312, allocations: 173.3 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1313, allocations: 55.41 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1314, allocations: 109.8 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1314, allocations: 29.7 kB / 487.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.1315, allocations: 107.8 kB / 487.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.1315, allocations: 43.38 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.1316, allocations: 41.61 kB / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1318, allocations: 322.8 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1319, allocations: 35.97 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.1321, allocations: 81.06 kB / 488.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.1324, allocations: 133 kB / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1325, allocations: 0 / 488.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000376/0.1328, allocations: 157.4 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1329, allocations: 8 kB / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1329, allocations: 0 / 488.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1329, allocations: 4 kB / 488.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.1331, allocations: 47.91 kB / 488.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004348/0.1336, allocations: 0.5978 MB / 489 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1337, allocations: 7.984 kB / 489 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1337, allocations: 8 kB / 489.1 MB, free: 12.6 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.0001183/0.1338, allocations: 125.7 kB / 489.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.1339, allocations: 11.89 kB / 489.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004402/0.1343, allocations: 166.4 kB / 489.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1343, allocations: 4 kB / 489.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1344, allocations: 3.938 kB / 489.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1344, allocations: 0 / 489.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.1347, allocations: 213.5 kB / 489.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1347, allocations: 0 / 489.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.135, allocations: 51.91 kB / 489.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.135, allocations: 0 / 489.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.135, allocations: 3.984 kB / 489.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003752/0.1354, allocations: 0.586 MB / 490.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1354, allocations: 0 / 490.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.1359, allocations: 303.4 kB / 490.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/0.136, allocations: 92.97 kB / 490.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.136, allocations: 4 kB / 490.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1361, allocations: 8 kB / 490.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.1362, allocations: 7.984 kB / 490.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1362, allocations: 11.98 kB / 490.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.06e-05/0.1363, allocations: 95.28 kB / 490.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.144e-06/0.1363, allocations: 0 / 490.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003949/0.1367, allocations: 83.77 kB / 490.8 MB, free: 10.73 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.0003354/0.137, allocations: 175.1 kB / 491 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004218/0.1375, allocations: 131.3 kB / 491.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1375, allocations: 0 / 491.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.1377, allocations: 75.89 kB / 491.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.138, allocations: 13.81 kB / 491.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.1388, allocations: 341.5 kB / 491.5 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.1392, allocations: 0.7041 MB / 492.2 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.1392, allocations: 19.42 kB / 492.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1392, allocations: 0 / 492.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of Templates: time 0.005547/0.1448, allocations: 2.58 MB / 494.8 MB, free: 6.648 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/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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches