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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 105.7 kB / 18.32 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002354/0.002354, allocations: 184.5 kB / 21.5 MB, free: 0.8203 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.656/1.656, allocations: 207.6 MB / 232.1 MB, free: 3.121 MB / 174.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.3967/0.3967, allocations: 44.23 MB / 328.4 MB, free: 6.277 MB / 254.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.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=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.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.002162/0.002162, allocations: 73.86 kB / 465.6 MB, free: 45.24 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.137, allocations: 61 MB / 0.5142 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002877/0.1399, allocations: 1.831 MB / 0.516 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.1418, allocations: 1.397 MB / 0.5174 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.079e-05/0.1419, allocations: 0 / 0.5174 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.1421, allocations: 51.91 kB / 0.5174 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.1423, allocations: 52.92 kB / 0.5175 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.1427, allocations: 244.9 kB / 0.5177 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.1428, allocations: 103.4 kB / 0.5178 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.245e-05/0.1429, allocations: 9.109 kB / 0.5178 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.143, allocations: 55.7 kB / 0.5179 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.1431, allocations: 39.84 kB / 0.5179 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1431, allocations: 7.938 kB / 0.5179 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005458/0.1437, allocations: 0.5029 MB / 0.5184 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.1437, allocations: 19.86 kB / 0.5184 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.1437, allocations: 35.8 kB / 0.5185 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004304/0.1442, allocations: 366.7 kB / 0.5188 GB, free: 8.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1442, allocations: 0 / 0.5188 GB, free: 8.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1442, allocations: 0 / 0.5188 GB, free: 8.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1442, allocations: 0 / 0.5188 GB, free: 8.523 MB / 382.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.0005049/0.1447, allocations: 442.6 kB / 0.5192 GB, free: 8.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1447, allocations: 15.84 kB / 0.5192 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.1448, allocations: 16.89 kB / 0.5193 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.816e-05/0.1448, allocations: 188.1 kB / 0.5194 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1449, allocations: 8.375 kB / 0.5195 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.1449, allocations: 16.12 kB / 0.5195 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.1452, allocations: 138.1 kB / 0.5196 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1452, allocations: 0 / 0.5196 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1452, allocations: 8 kB / 0.5196 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1452, allocations: 4 kB / 0.5196 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.1455, allocations: 135.9 kB / 0.5197 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000782/0.1462, allocations: 0.5104 MB / 0.5202 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.1465, allocations: 98.59 kB / 0.5203 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.1466, allocations: 44.83 kB / 0.5204 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.1466, allocations: 7.938 kB / 0.5204 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.1466, allocations: 30.56 kB / 0.5204 GB, free: 6.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.1467, allocations: 0 / 0.5204 GB, free: 6.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004872/0.1471, allocations: 165.5 kB / 0.5206 GB, free: 6.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.1472, allocations: 55.39 kB / 0.5206 GB, free: 6.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.944e-05/0.1472, allocations: 117.8 kB / 0.5207 GB, free: 6.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.1473, allocations: 25.7 kB / 0.5208 GB, free: 6.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.1473, allocations: 115.9 kB / 0.5209 GB, free: 6.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.1473, allocations: 39.69 kB / 0.5209 GB, free: 6.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.1474, allocations: 37.66 kB / 0.5209 GB, free: 6.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.339e-05/0.1474, allocations: 322.8 kB / 0.5213 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1475, allocations: 35.97 kB / 0.5213 GB, free: 5.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1477, allocations: 88.56 kB / 0.5214 GB, free: 5.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.1479, allocations: 132.9 kB / 0.5215 GB, free: 5.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1479, allocations: 0 / 0.5215 GB, free: 5.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002727/0.1481, allocations: 165.8 kB / 0.5217 GB, free: 5.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1482, allocations: 4 kB / 0.5217 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.1482, allocations: 0 / 0.5217 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.1482, allocations: 4 kB / 0.5217 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.1484, allocations: 51.89 kB / 0.5217 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002381/0.1486, allocations: 0.59 MB / 0.5223 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.966e-05/0.1487, allocations: 28.28 kB / 0.5223 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.1487, allocations: 4 kB / 0.5223 GB, free: 4.633 MB / 382.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 8.091e-05/0.1488, allocations: 121.7 kB / 0.5224 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.1488, allocations: 11.95 kB / 0.5224 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.1492, allocations: 170.5 kB / 0.5226 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1492, allocations: 0 / 0.5226 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1492, allocations: 3.938 kB / 0.5226 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1492, allocations: 4 kB / 0.5226 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.1494, allocations: 205.6 kB / 0.5228 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1494, allocations: 0 / 0.5228 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.1496, allocations: 43.91 kB / 0.5229 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1496, allocations: 4 kB / 0.5229 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1496, allocations: 8 kB / 0.5229 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001648/0.1498, allocations: 0.5859 MB / 0.5234 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1498, allocations: 0 / 0.5234 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.1502, allocations: 303.6 kB / 0.5237 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.1502, allocations: 104.9 kB / 0.5238 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.1503, allocations: 0 / 0.5238 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1504, allocations: 11.98 kB / 0.5238 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.1504, allocations: 7.984 kB / 0.5238 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.1504, allocations: 4 kB / 0.5239 GB, free: 2.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.723e-05/0.1505, allocations: 91.27 kB / 0.5239 GB, free: 2.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1505, allocations: 4.062 kB / 0.5239 GB, free: 2.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.1509, allocations: 75.67 kB / 0.524 GB, free: 2.766 MB / 382.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.0003137/0.1512, allocations: 174.9 kB / 0.5242 GB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.1516, allocations: 119.8 kB / 0.5243 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1516, allocations: 0 / 0.5243 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.1517, allocations: 67.89 kB / 0.5244 GB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1521, allocations: 15.94 kB / 0.5244 GB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006335/0.1527, allocations: 315.5 kB / 0.5247 GB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.1529, allocations: 0.7041 MB / 0.5254 GB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.639e-05/0.1529, allocations: 16.78 kB / 0.5254 GB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.153, allocations: 19.42 kB / 0.5254 GB, free: 1.285 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.153, allocations: 4 kB / 0.5254 GB, free: 1.281 MB / 382.1 MB Notification: Performance of Templates: time 0.005998/0.159, allocations: 2.317 MB / 0.5277 GB, free: 14.98 MB / 398.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.675567441619933]