Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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|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_3.2.3_cpp_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|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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002365/0.00237, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 94.86 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2816/0.2816, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004789/0.0004789, allocations: 8 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1164, allocations: 58.87 MB / 490.2 MB, free: 9.324 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002779/0.1193, allocations: 1.451 MB / 491.7 MB, free: 7.855 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002737/0.122, allocations: 1.214 MB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.1222, allocations: 0 / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.1224, allocations: 35.75 kB / 492.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.1226, allocations: 55.83 kB / 493 MB, free: 6.543 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.1234, allocations: 199.6 kB / 493.2 MB, free: 6.348 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.1235, allocations: 71.81 kB / 493.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.607e-05/0.1236, allocations: 13 kB / 493.3 MB, free: 6.266 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.1238, allocations: 51.77 kB / 493.3 MB, free: 6.215 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.1239, allocations: 43.83 kB / 493.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1239, allocations: 4 kB / 493.4 MB, free: 6.168 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.125, allocations: 499.2 kB / 493.9 MB, free: 5.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.125, allocations: 11.97 kB / 493.9 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.1251, allocations: 41.64 kB / 493.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005337/0.1256, allocations: 215.8 kB / 494.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1256, allocations: 0 / 494.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1256, allocations: 0 / 494.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1256, allocations: 0 / 494.1 MB, free: 5.41 MB / 330.7 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.0006701/0.1263, allocations: 427 kB / 494.5 MB, free: 4.945 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1264, allocations: 8.031 kB / 494.6 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.1264, allocations: 15.84 kB / 494.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.1266, allocations: 182.9 kB / 494.7 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1266, allocations: 8 kB / 494.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.1267, allocations: 12 kB / 494.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004446/0.1271, allocations: 141.5 kB / 494.9 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1272, allocations: 3.984 kB / 494.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.1272, allocations: 8 kB / 494.9 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.1272, allocations: 4 kB / 494.9 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005193/0.1278, allocations: 143.9 kB / 495.1 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.129, allocations: 0.5221 MB / 495.6 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.1294, allocations: 106.6 kB / 495.7 MB, free: 3.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.1295, allocations: 0 / 495.7 MB, free: 3.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1295, allocations: 42.55 kB / 495.7 MB, free: 3.629 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.814e-06/0.1295, allocations: 0 / 495.7 MB, free: 3.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007751/0.1303, allocations: 181.7 kB / 495.9 MB, free: 3.445 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.1304, allocations: 51.41 kB / 496 MB, free: 3.383 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1305, allocations: 114 kB / 496.1 MB, free: 3.262 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.1305, allocations: 29.7 kB / 496.1 MB, free: 3.227 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1307, allocations: 182.1 kB / 496.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.119e-05/0.1307, allocations: 43.75 kB / 496.3 MB, free: 3.004 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.1308, allocations: 12 kB / 496.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1309, allocations: 318.8 kB / 496.6 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.1311, allocations: 39.97 kB / 496.7 MB, free: 2.633 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.1314, allocations: 89.06 kB / 496.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.1316, allocations: 56.34 kB / 496.8 MB, free: 2.473 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.1316, allocations: 4 kB / 496.8 MB, free: 2.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005937/0.1322, allocations: 165.4 kB / 497 MB, free: 2.301 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1323, allocations: 8 kB / 497 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1323, allocations: 0 / 497 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1323, allocations: 8.156 kB / 497 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.1327, allocations: 47.91 kB / 497 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004502/0.1332, allocations: 0.5937 MB / 497.6 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.1334, allocations: 12 kB / 497.7 MB, free: 1.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.1334, allocations: 12.02 kB / 497.7 MB, free: 1.598 MB / 330.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.1336, allocations: 125.8 kB / 497.8 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.1336, allocations: 7.906 kB / 497.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007028/0.1344, allocations: 189.8 kB / 498 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1344, allocations: 4 kB / 498 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.1344, allocations: 3.953 kB / 498 MB, free: 1.254 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.1344, allocations: 0 / 498 MB, free: 1.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.1348, allocations: 213.5 kB / 498.2 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1348, allocations: 4 kB / 498.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.1352, allocations: 43.97 kB / 498.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.1352, allocations: 4 kB / 498.2 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.1352, allocations: 3.984 kB / 498.3 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003791/0.1356, allocations: 0.5899 MB / 498.8 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1357, allocations: 3.984 kB / 498.8 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008167/0.1365, allocations: 311 kB / 499.1 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1366, allocations: 97.09 kB / 499.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.1367, allocations: 11.94 kB / 499.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1369, allocations: 8 kB / 499.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.1369, allocations: 11.98 kB / 499.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.137, allocations: 7.984 kB / 499.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.826e-05/0.137, allocations: 83.28 kB / 499.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1371, allocations: 0 / 499.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005118/0.1376, allocations: 79.83 kB / 499.4 MB, free: 15.7 MB / 346.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004032/0.138, allocations: 171.3 kB / 499.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006495/0.1387, allocations: 135.8 kB / 499.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1387, allocations: 0 / 499.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.139, allocations: 84.19 kB / 499.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.1393, allocations: 8 kB / 499.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000987/0.1403, allocations: 397.9 kB / 0.4885 GB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1406, allocations: 0.7082 MB / 0.4892 GB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/0.1407, allocations: 19.44 kB / 0.4892 GB, free: 14.12 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1407, allocations: 0 / 0.4892 GB, free: 14.12 MB / 346.7 MB Notification: Performance of Templates: time 0.006698/0.1475, allocations: 2.514 MB / 0.4917 GB, free: 11.61 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches