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.001523/0.001523, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 76.64 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1257, allocations: 62.44 MB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003196/0.1289, allocations: 1.813 MB / 482.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.1311, allocations: 1.402 MB / 483.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.546e-05/0.1313, allocations: 0 / 483.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.1315, allocations: 39.7 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.1317, allocations: 51.62 kB / 484 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006243/0.1323, allocations: 247.1 kB / 484.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1325, allocations: 107.4 kB / 484.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.1325, allocations: 9.125 kB / 484.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.1327, allocations: 51.72 kB / 484.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.1328, allocations: 55.7 kB / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1329, allocations: 4 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007862/0.1337, allocations: 0.5069 MB / 485 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.1337, allocations: 15.86 kB / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.1338, allocations: 43.73 kB / 485.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.1343, allocations: 355.3 kB / 485.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1343, allocations: 0 / 485.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1343, allocations: 4 kB / 485.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1343, allocations: 0 / 485.4 MB, free: 0.5664 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.0006674/0.135, allocations: 447.1 kB / 485.8 MB, free: 84 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1351, allocations: 8.031 kB / 485.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.1351, allocations: 8.844 kB / 485.9 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.1353, allocations: 184.1 kB / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1353, allocations: 12.38 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.1354, allocations: 16.11 kB / 486.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.1357, allocations: 145.6 kB / 486.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1357, allocations: 4 kB / 486.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.1357, allocations: 4 kB / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.1357, allocations: 7.938 kB / 486.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.1361, allocations: 139.8 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008922/0.137, allocations: 0.5066 MB / 486.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.1373, allocations: 102.6 kB / 487 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.1374, allocations: 52.83 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.1375, allocations: 4 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.1375, allocations: 30.56 kB / 487.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.1375, allocations: 0 / 487.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005126/0.138, allocations: 165.4 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.1381, allocations: 55.41 kB / 487.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/0.1382, allocations: 121.8 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1382, allocations: 29.7 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.1383, allocations: 107.8 kB / 487.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.1383, allocations: 39.39 kB / 487.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.1384, allocations: 37.61 kB / 487.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1385, allocations: 318.8 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.1387, allocations: 39.97 kB / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.1388, allocations: 81.06 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.1391, allocations: 133 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1391, allocations: 0 / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003517/0.1395, allocations: 153.4 kB / 488.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1395, allocations: 4 kB / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1395, allocations: 4 kB / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1395, allocations: 4.156 kB / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.1398, allocations: 55.89 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004123/0.1402, allocations: 0.5898 MB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1403, allocations: 12.02 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.1404, allocations: 4 kB / 489 MB, free: 12.69 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.0001419/0.1405, allocations: 133.8 kB / 489.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.1405, allocations: 7.891 kB / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004523/0.141, allocations: 170.3 kB / 489.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.141, allocations: 8 kB / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.141, allocations: 3.938 kB / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.141, allocations: 0 / 489.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.1413, allocations: 209.5 kB / 489.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1413, allocations: 4 kB / 489.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.1415, allocations: 47.91 kB / 489.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1415, allocations: 0 / 489.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1416, allocations: 3.984 kB / 489.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003143/0.1419, allocations: 0.5899 MB / 490.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.1419, allocations: 0 / 490.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004875/0.1424, allocations: 303 kB / 490.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/0.1425, allocations: 92.97 kB / 490.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.1425, allocations: 4.156 kB / 490.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1426, allocations: 12 kB / 490.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.1427, allocations: 7.984 kB / 490.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1427, allocations: 11.98 kB / 490.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.049e-05/0.1427, allocations: 83.28 kB / 490.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1428, allocations: 3.938 kB / 490.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.1431, allocations: 80.11 kB / 490.7 MB, free: 10.82 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.0003385/0.1435, allocations: 179 kB / 490.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004309/0.1439, allocations: 136 kB / 491 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1439, allocations: 0 / 491 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.1441, allocations: 71.89 kB / 491.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.1445, allocations: 12 kB / 491.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007072/0.1452, allocations: 341 kB / 491.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.1455, allocations: 0.7041 MB / 492.2 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.1456, allocations: 23.42 kB / 492.2 MB, free: 9.309 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1456, allocations: 0 / 492.2 MB, free: 9.309 MB / 366.1 MB Notification: Performance of Templates: time 0.005009/0.1506, allocations: 2.578 MB / 494.8 MB, free: 6.734 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