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.001184/0.001184, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 246.4 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 84.42 kB / 417.1 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.126, allocations: 62.44 MB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003715/0.1297, allocations: 1.875 MB / 481.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.1322, allocations: 1.379 MB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1324, allocations: 4 kB / 482.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.1326, allocations: 35.83 kB / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.1329, allocations: 43.69 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006903/0.1336, allocations: 230.6 kB / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.1337, allocations: 107.5 kB / 483.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.1338, allocations: 5.125 kB / 483.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.134, allocations: 59.64 kB / 483.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.844e-05/0.1341, allocations: 47.78 kB / 483.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.1341, allocations: 4 kB / 483.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007634/0.1349, allocations: 0.5029 MB / 483.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.1349, allocations: 15.86 kB / 483.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.135, allocations: 47.73 kB / 483.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.1356, allocations: 363.2 kB / 484.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1356, allocations: 0 / 484.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1356, allocations: 3.938 kB / 484.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.1356, allocations: 0 / 484.2 MB, free: 0.8633 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.0006056/0.1362, allocations: 443.2 kB / 484.6 MB, free: 392 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1363, allocations: 8.031 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.1363, allocations: 12.84 kB / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1365, allocations: 188.1 kB / 484.9 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1365, allocations: 8.375 kB / 484.9 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.1366, allocations: 20.11 kB / 484.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.1369, allocations: 137.6 kB / 485 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1369, allocations: 0 / 485 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.137, allocations: 7.938 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.137, allocations: 4 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.1373, allocations: 131.9 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009553/0.1383, allocations: 0.5143 MB / 485.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.1386, allocations: 106.6 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.1387, allocations: 48.83 kB / 485.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.1388, allocations: 0 / 485.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1388, allocations: 38.55 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1388, allocations: 0 / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004966/0.1393, allocations: 161.4 kB / 486 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.1394, allocations: 63.39 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.68e-05/0.1395, allocations: 109.8 kB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.1395, allocations: 29.7 kB / 486.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.1396, allocations: 107.8 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.1396, allocations: 43.38 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.1397, allocations: 37.61 kB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1398, allocations: 322.8 kB / 486.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.14, allocations: 35.97 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.1402, allocations: 83.92 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.1404, allocations: 137.3 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1405, allocations: 0 / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003686/0.1408, allocations: 157.4 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1409, allocations: 8.375 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1409, allocations: 0 / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1409, allocations: 4 kB / 487.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.1411, allocations: 43.97 kB / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003965/0.1415, allocations: 0.6055 MB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.1417, allocations: 7.984 kB / 487.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.1417, allocations: 8 kB / 487.8 MB, free: 12.98 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.00011/0.1418, allocations: 125.7 kB / 487.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.1419, allocations: 7.906 kB / 487.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.1423, allocations: 170 kB / 488.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1423, allocations: 0 / 488.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1423, allocations: 7.938 kB / 488.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1423, allocations: 0 / 488.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.1426, allocations: 213.5 kB / 488.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1426, allocations: 0 / 488.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.1428, allocations: 51.91 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.1428, allocations: 3.938 kB / 488.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.1429, allocations: 4 kB / 488.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003211/0.1432, allocations: 0.5821 MB / 488.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1432, allocations: 0 / 488.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.1437, allocations: 303.4 kB / 489.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.1438, allocations: 96.97 kB / 489.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.1438, allocations: 0 / 489.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.144, allocations: 11.98 kB / 489.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.144, allocations: 7.984 kB / 489.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.144, allocations: 8 kB / 489.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.68e-05/0.1441, allocations: 91.2 kB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1441, allocations: 4.062 kB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003843/0.1445, allocations: 83.83 kB / 489.5 MB, free: 11.11 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.0003398/0.1448, allocations: 171.1 kB / 489.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000429/0.1453, allocations: 131.8 kB / 489.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1453, allocations: 0 / 489.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.1455, allocations: 71.89 kB / 489.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.1458, allocations: 12.31 kB / 489.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006993/0.1465, allocations: 367.9 kB / 490.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.1469, allocations: 0.7002 MB / 491 MB, free: 9.617 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.586e-05/0.147, allocations: 24.75 kB / 491 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.147, allocations: 15.44 kB / 491 MB, free: 9.578 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.147, allocations: 0 / 491 MB, free: 9.578 MB / 366.1 MB Notification: Performance of Templates: time 0.007109/0.1541, allocations: 2.274 MB / 493.3 MB, free: 7.34 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