Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 105.8 kB / 16.94 MB, free: 5.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 187.3 kB / 17.86 MB, free: 5.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2108/0.2108, allocations: 43.52 MB / 314.6 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 75.41 kB / 383.4 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1189, allocations: 57.79 MB / 441.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003317/0.1223, allocations: 1.786 MB / 443 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1244, allocations: 1.384 MB / 444.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.1245, allocations: 8 kB / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1248, allocations: 35.77 kB / 444.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.125, allocations: 51.62 kB / 444.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006562/0.1257, allocations: 243.1 kB / 444.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1258, allocations: 107.4 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.591e-05/0.1259, allocations: 9.406 kB / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.1261, allocations: 43.72 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.551e-05/0.1262, allocations: 55.7 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.1262, allocations: 4 kB / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006637/0.1269, allocations: 0.4913 MB / 445.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.1269, allocations: 19.84 kB / 445.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.127, allocations: 51.67 kB / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005686/0.1275, allocations: 347.1 kB / 445.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1276, allocations: 0 / 445.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1276, allocations: 0 / 445.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1276, allocations: 0 / 445.8 MB, free: 2.246 MB / 318.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.0005409/0.1281, allocations: 443.1 kB / 446.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1282, allocations: 11.89 kB / 446.3 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.1282, allocations: 12.84 kB / 446.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.53e-05/0.1283, allocations: 176.2 kB / 446.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1283, allocations: 12.38 kB / 446.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.1284, allocations: 16.12 kB / 446.5 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.1287, allocations: 137.6 kB / 446.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1287, allocations: 3.938 kB / 446.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.1287, allocations: 7.938 kB / 446.6 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.1287, allocations: 4 kB / 446.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.129, allocations: 139.9 kB / 446.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008512/0.1299, allocations: 0.5143 MB / 447.3 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.1302, allocations: 106.6 kB / 447.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.1303, allocations: 48.83 kB / 447.4 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.1304, allocations: 7.922 kB / 447.4 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.342e-05/0.1304, allocations: 34.56 kB / 447.5 MB, free: 424 kB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.1304, allocations: 0 / 447.5 MB, free: 424 kB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004695/0.1309, allocations: 161.5 kB / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.1309, allocations: 55.41 kB / 447.7 MB, free: 188 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/0.131, allocations: 117.7 kB / 447.8 MB, free: 60 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.131, allocations: 29.7 kB / 447.8 MB, free: 24 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.1311, allocations: 107.8 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.1311, allocations: 39.39 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.1312, allocations: 33.7 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1313, allocations: 326.8 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.1314, allocations: 39.91 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.1316, allocations: 77.12 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.1319, allocations: 133.4 kB / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1319, allocations: 0 / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003899/0.1323, allocations: 165.3 kB / 448.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1324, allocations: 8 kB / 448.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1324, allocations: 0 / 448.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1324, allocations: 4 kB / 448.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.1326, allocations: 43.91 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004108/0.1331, allocations: 0.6017 MB / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.1332, allocations: 11.84 kB / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.1332, allocations: 15.98 kB / 449.4 MB, free: 14.35 MB / 334.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.000107/0.1333, allocations: 121.7 kB / 449.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.1334, allocations: 7.906 kB / 449.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/0.1339, allocations: 174.3 kB / 449.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1339, allocations: 0 / 449.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1339, allocations: 3.938 kB / 449.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1339, allocations: 3.984 kB / 449.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.1342, allocations: 217.5 kB / 449.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1342, allocations: 0 / 449.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.1344, allocations: 43.98 kB / 450 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1345, allocations: 3.984 kB / 450 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1345, allocations: 4 kB / 450 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003149/0.1348, allocations: 0.5821 MB / 450.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1348, allocations: 3.938 kB / 450.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.1353, allocations: 295 kB / 450.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.1355, allocations: 96.97 kB / 451 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.1355, allocations: 4 kB / 451 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.1356, allocations: 11.98 kB / 451 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.1357, allocations: 7.984 kB / 451 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1357, allocations: 8 kB / 451 MB, free: 12.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.746e-05/0.1358, allocations: 99.27 kB / 451.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1358, allocations: 0 / 451.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004285/0.1362, allocations: 71.88 kB / 451.2 MB, free: 12.49 MB / 334.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.0004254/0.1367, allocations: 179.3 kB / 451.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004705/0.1372, allocations: 131.5 kB / 451.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1372, allocations: 0 / 451.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.1374, allocations: 71.89 kB / 451.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.1378, allocations: 19.12 kB / 451.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008473/0.1386, allocations: 349.2 kB / 451.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.1389, allocations: 0.7041 MB / 452.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.139, allocations: 19.42 kB / 452.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.139, allocations: 0 / 452.6 MB, free: 10.97 MB / 334.1 MB Notification: Performance of Templates: time 0.005597/0.1446, allocations: 2.497 MB / 455.1 MB, free: 8.48 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches