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.001392/0.001392, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.00139, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2462/0.2462, allocations: 46.13 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 80.8 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.131, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003446/0.1345, allocations: 1.818 MB / 482 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1368, allocations: 1.391 MB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.243e-05/0.1369, allocations: 0 / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.1371, allocations: 39.75 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.1373, allocations: 59.61 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/0.1379, allocations: 243 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.138, allocations: 103.5 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/0.1381, allocations: 9.125 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.1383, allocations: 59.66 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.1384, allocations: 47.77 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1384, allocations: 11.94 kB / 483.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007775/0.1392, allocations: 0.5068 MB / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.1393, allocations: 11.92 kB / 484.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.1393, allocations: 51.66 kB / 484.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005608/0.1399, allocations: 355.3 kB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1399, allocations: 0 / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.1399, allocations: 0 / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1399, allocations: 7.938 kB / 484.8 MB, free: 476 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.000671/0.1406, allocations: 438.2 kB / 485.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1407, allocations: 8.031 kB / 485.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.1407, allocations: 16.84 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.1409, allocations: 180.2 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1409, allocations: 8.375 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.1409, allocations: 12.12 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.1413, allocations: 153.5 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1413, allocations: 0 / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.1413, allocations: 4 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.1414, allocations: 7.938 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.1417, allocations: 131.9 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009939/0.1427, allocations: 0.5104 MB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.143, allocations: 110.5 kB / 486.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.1432, allocations: 52.83 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.1432, allocations: 3.984 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1432, allocations: 34.56 kB / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1432, allocations: 0 / 486.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005164/0.1438, allocations: 157.5 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.1438, allocations: 59.34 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1439, allocations: 121.8 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.144, allocations: 25.7 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.1441, allocations: 111.8 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.1441, allocations: 39.39 kB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.1442, allocations: 33.62 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1443, allocations: 323.2 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.1445, allocations: 35.97 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.1446, allocations: 87.78 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.1449, allocations: 129 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.145, allocations: 3.938 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000358/0.1453, allocations: 157.4 kB / 487.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1453, allocations: 10.5 kB / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1454, allocations: 4 kB / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.1454, allocations: 4 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.1456, allocations: 43.97 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004544/0.1461, allocations: 0.5937 MB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1462, allocations: 11.98 kB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.1462, allocations: 8 kB / 488.4 MB, free: 12.59 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.0001121/0.1464, allocations: 125.9 kB / 488.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.1464, allocations: 11.91 kB / 488.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/0.1469, allocations: 173 kB / 488.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1469, allocations: 7.938 kB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.1469, allocations: 3.938 kB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1469, allocations: 0 / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.1472, allocations: 213.5 kB / 488.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1472, allocations: 0 / 488.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.1474, allocations: 43.97 kB / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1474, allocations: 0 / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1474, allocations: 0 / 489 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003773/0.1478, allocations: 0.5937 MB / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1478, allocations: 0 / 489.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005172/0.1483, allocations: 295.3 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.1484, allocations: 93.12 kB / 489.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.1485, allocations: 8 kB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1486, allocations: 11.98 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.1487, allocations: 7.984 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1487, allocations: 8 kB / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.111e-05/0.1488, allocations: 91.2 kB / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1488, allocations: 3.938 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003976/0.1492, allocations: 83.83 kB / 490.2 MB, free: 10.72 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.0003715/0.1495, allocations: 175.1 kB / 490.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004853/0.15, allocations: 132 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1501, allocations: 4 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.1503, allocations: 67.95 kB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1506, allocations: 4.766 kB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.1513, allocations: 313.6 kB / 490.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.1516, allocations: 0.708 MB / 491.5 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.189e-05/0.1517, allocations: 16.48 kB / 491.6 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.1518, allocations: 23.44 kB / 491.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1518, allocations: 0 / 491.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of Templates: time 0.006107/0.1579, allocations: 2.332 MB / 493.9 MB, free: 6.941 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