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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 215.3 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2477/0.2477, allocations: 44.27 MB / 330.3 MB, free: 9.293 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 79.91 kB / 468 MB, free: 3.801 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1369, allocations: 61.04 MB / 0.5167 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003362/0.1402, allocations: 1.778 MB / 0.5184 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.1425, allocations: 1.267 MB / 0.5196 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.1425, allocations: 4 kB / 0.5196 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.1427, allocations: 43.77 kB / 0.5197 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.1429, allocations: 47.62 kB / 0.5197 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.1435, allocations: 247.1 kB / 0.52 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1436, allocations: 103.4 kB / 0.5201 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.206e-05/0.1437, allocations: 13.28 kB / 0.5201 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.1438, allocations: 55.72 kB / 0.5201 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.035e-05/0.1439, allocations: 51.7 kB / 0.5202 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1439, allocations: 4 kB / 0.5202 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005295/0.1445, allocations: 295.4 kB / 0.5205 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.1445, allocations: 15.92 kB / 0.5205 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.1445, allocations: 43.73 kB / 0.5205 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005049/0.145, allocations: 306.9 kB / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.145, allocations: 0 / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.145, allocations: 0 / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1451, allocations: 4 kB / 0.5208 GB, free: 2.355 MB / 398.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.0005787/0.1456, allocations: 369.4 kB / 0.5212 GB, free: 1.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1457, allocations: 8.031 kB / 0.5212 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.1457, allocations: 8.891 kB / 0.5212 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1458, allocations: 126.3 kB / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.1459, allocations: 16.38 kB / 0.5213 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.1459, allocations: 16.12 kB / 0.5213 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003672/0.1463, allocations: 138.6 kB / 0.5215 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1463, allocations: 0 / 0.5215 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.1463, allocations: 8 kB / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.1463, allocations: 4 kB / 0.5215 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.1467, allocations: 135.9 kB / 0.5216 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009854/0.1477, allocations: 399.1 kB / 0.522 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.148, allocations: 90.59 kB / 0.5221 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.1481, allocations: 56.7 kB / 0.5221 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.1481, allocations: 0 / 0.5221 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1482, allocations: 34.56 kB / 0.5222 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.1482, allocations: 0 / 0.5222 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00052/0.1487, allocations: 165.5 kB / 0.5223 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.1487, allocations: 55.41 kB / 0.5224 GB, free: 0.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1488, allocations: 109.8 kB / 0.5225 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1489, allocations: 29.7 kB / 0.5225 GB, free: 484 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.1489, allocations: 119.8 kB / 0.5226 GB, free: 360 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.149, allocations: 43.58 kB / 0.5227 GB, free: 316 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.1491, allocations: 33.7 kB / 0.5227 GB, free: 276 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1492, allocations: 318.8 kB / 0.523 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1494, allocations: 43.97 kB / 0.523 GB, free: 15.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.1495, allocations: 73.12 kB / 0.5231 GB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.1498, allocations: 129 kB / 0.5232 GB, free: 15.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1498, allocations: 0 / 0.5232 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003617/0.1502, allocations: 169.8 kB / 0.5234 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1502, allocations: 8 kB / 0.5234 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1502, allocations: 0 / 0.5234 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1502, allocations: 12.3 kB / 0.5234 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.1504, allocations: 43.97 kB / 0.5235 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004421/0.1509, allocations: 0.5979 MB / 0.524 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.151, allocations: 19.86 kB / 0.5241 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.151, allocations: 7.938 kB / 0.5241 GB, free: 14.79 MB / 414.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.0001128/0.1511, allocations: 125.7 kB / 0.5242 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.1511, allocations: 7.953 kB / 0.5242 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/0.1516, allocations: 166 kB / 0.5244 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1516, allocations: 0 / 0.5244 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1516, allocations: 4 kB / 0.5244 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.1516, allocations: 7.922 kB / 0.5244 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.1518, allocations: 149.2 kB / 0.5245 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1518, allocations: 0 / 0.5245 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.152, allocations: 35.97 kB / 0.5245 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.152, allocations: 0 / 0.5245 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1521, allocations: 11.98 kB / 0.5246 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003539/0.1524, allocations: 0.5937 MB / 0.5251 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1524, allocations: 4.031 kB / 0.5251 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/0.1529, allocations: 287.4 kB / 0.5254 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.153, allocations: 15.97 kB / 0.5254 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.153, allocations: 7.938 kB / 0.5254 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1531, allocations: 8 kB / 0.5254 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.1532, allocations: 15.91 kB / 0.5255 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1532, allocations: 12.16 kB / 0.5255 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.853e-05/0.1532, allocations: 87.27 kB / 0.5256 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1532, allocations: 0 / 0.5256 GB, free: 13.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003947/0.1536, allocations: 79.64 kB / 0.5256 GB, free: 13.1 MB / 414.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.0003727/0.154, allocations: 166.9 kB / 0.5258 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004589/0.1545, allocations: 127.8 kB / 0.5259 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1545, allocations: 0 / 0.5259 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.1547, allocations: 67.89 kB / 0.526 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.155, allocations: 12.31 kB / 0.526 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007341/0.1558, allocations: 308.1 kB / 0.5263 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.723e-05/0.1559, allocations: 89.19 kB / 0.5264 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.205e-05/0.1559, allocations: 24.69 kB / 0.5264 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.156, allocations: 15.44 kB / 0.5264 GB, free: 12.25 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.156, allocations: 0 / 0.5264 GB, free: 12.25 MB / 414.1 MB Notification: Performance of Templates: time 0.006337/0.1623, allocations: 2.366 MB / 0.5287 GB, free: 9.906 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/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/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7673391960561275]