Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001161/0.001161, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001059/0.001059, allocations: 167.3 kB / 24.91 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9543/0.9543, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2757/0.2757, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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|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_4.1.0_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|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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.239e-05, allocations: 2.312 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002446/0.002468, allocations: 1.912 MB / 327.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.004188, allocations: 1.376 MB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.775e-05/0.004265, allocations: 3.938 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.004503, allocations: 31.78 kB / 328.6 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.004687, allocations: 67.48 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004836/0.00517, allocations: 235 kB / 328.9 MB, free: 3.992 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.005292, allocations: 111.3 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.00533, allocations: 5.969 kB / 329.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.00554, allocations: 75.62 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.005604, allocations: 43.88 kB / 329.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.005618, allocations: 4 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.006054, allocations: 327.3 kB / 329.5 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.006078, allocations: 19.86 kB / 329.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.006116, allocations: 28.41 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.006588, allocations: 330.8 kB / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.006592, allocations: 0 / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.006593, allocations: 0 / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.006598, allocations: 0 / 329.9 MB, free: 3.066 MB / 298.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.0003876/0.006986, allocations: 345.4 kB / 330.2 MB, free: 2.707 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.007019, allocations: 8.031 kB / 330.2 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.007058, allocations: 16.92 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.688e-05/0.007145, allocations: 121.6 kB / 330.3 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.007159, allocations: 8.375 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.007183, allocations: 12.38 kB / 330.4 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.007334, allocations: 118.7 kB / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.007342, allocations: 3.938 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.007354, allocations: 8 kB / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.007359, allocations: 0 / 330.5 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.206e-05/0.007421, allocations: 55.91 kB / 330.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.007932, allocations: 344.6 kB / 330.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.008045, allocations: 59.64 kB / 330.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.008078, allocations: 28.83 kB / 331 MB, free: 1.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.008101, allocations: 4 kB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.008122, allocations: 30.56 kB / 331 MB, free: 1.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.008123, allocations: 3.938 kB / 331 MB, free: 1.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001565/0.00828, allocations: 90.58 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.008307, allocations: 55.41 kB / 331.1 MB, free: 1.664 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.067e-05/0.008368, allocations: 118.7 kB / 331.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.00838, allocations: 29.7 kB / 331.3 MB, free: 1.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.00857, allocations: 111.8 kB / 331.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.008593, allocations: 43.62 kB / 331.4 MB, free: 1.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.008634, allocations: 37.64 kB / 331.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.008707, allocations: 314.8 kB / 331.8 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.008728, allocations: 15.98 kB / 331.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.174e-05/0.00877, allocations: 57.06 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.439e-05/0.008855, allocations: 87.12 kB / 331.9 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.008857, allocations: 4 kB / 331.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001007/0.008958, allocations: 93.53 kB / 332 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.008969, allocations: 4 kB / 332 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.008974, allocations: 0 / 332 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.008986, allocations: 12.09 kB / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.009105, allocations: 43.91 kB / 332.1 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002331/0.009338, allocations: 0.5782 MB / 332.7 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.009383, allocations: 19.88 kB / 332.7 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.009391, allocations: 7.938 kB / 332.7 MB, free: 0 / 298.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 (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 7.613e-05/0.009467, allocations: 113.8 kB / 332.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.009488, allocations: 15.92 kB / 332.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.009644, allocations: 110.3 kB / 332.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.009648, allocations: 7.938 kB / 332.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.009649, allocations: 0 / 332.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.009652, allocations: 0 / 332.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.009775, allocations: 105.8 kB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.009776, allocations: 0 / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.765e-05/0.009864, allocations: 31.97 kB / 333.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.009869, allocations: 7.938 kB / 333.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.009877, allocations: 8 kB / 333.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001779/0.01006, allocations: 0.586 MB / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01006, allocations: 0 / 333.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.01019, allocations: 198.7 kB / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.01022, allocations: 11.89 kB / 333.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.01023, allocations: 4 kB / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.383e-05/0.01028, allocations: 7.984 kB / 333.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.01031, allocations: 11.98 kB / 333.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.01031, allocations: 4.094 kB / 333.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.469e-05/0.01033, allocations: 24.83 kB / 333.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01033, allocations: 0 / 333.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.01055, allocations: 79.69 kB / 334 MB, free: 14.61 MB / 314.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 (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.0002234/0.01078, allocations: 172 kB / 334.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.01091, allocations: 78.39 kB / 334.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.01092, allocations: 0 / 334.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.01097, allocations: 44.77 kB / 334.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.01111, allocations: 15.94 kB / 334.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.0117, allocations: 308.8 kB / 334.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.544e-05/0.01174, allocations: 67.34 kB / 334.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.693e-05/0.01179, allocations: 16.77 kB / 334.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.01184, allocations: 63.38 kB / 334.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01184, allocations: 0 / 334.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of Templates: time 0.004475/0.01632, allocations: 2.677 MB / 337.4 MB, free: 11.19 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.892563866917044]