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.0009864/0.0009864, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001453/0.002439, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009985/0.0009985, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002322, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9905/0.9905, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1002/1.091, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.2575/0.2575, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02423/0.2818, allocations: 13.1 MB / 291.5 MB, free: 7.324 MB / 282.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.212e-06/1.212e-06, allocations: 0 / 292.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.822e-05, allocations: 4.375 kB / 292.8 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002525/0.002544, allocations: 1.929 MB / 294.8 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.005488, allocations: 1.379 MB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.00555, allocations: 4 kB / 296.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.005688, allocations: 47.69 kB / 296.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.005806, allocations: 55.56 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.006254, allocations: 242.9 kB / 296.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.006377, allocations: 111.3 kB / 296.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.006415, allocations: 13.89 kB / 296.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.006593, allocations: 63.83 kB / 296.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.006668, allocations: 43.81 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.006682, allocations: 4 kB / 296.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004579/0.00714, allocations: 323.3 kB / 297 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.007162, allocations: 15.88 kB / 297.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.007194, allocations: 19.94 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.007599, allocations: 287.1 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.00761, allocations: 0 / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.007611, allocations: 0 / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.00762, allocations: 3.938 kB / 297.4 MB, free: 1.641 MB / 282.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.0004265/0.008046, allocations: 376.9 kB / 297.7 MB, free: 1.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.008076, allocations: 8.031 kB / 297.7 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.008119, allocations: 20.92 kB / 297.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.915e-05/0.008208, allocations: 121.6 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.008222, allocations: 8.375 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.00825, allocations: 12.38 kB / 297.9 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.008429, allocations: 126.7 kB / 298 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.008438, allocations: 3.938 kB / 298 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.008449, allocations: 4 kB / 298 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.008456, allocations: 4 kB / 298 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.008527, allocations: 43.97 kB / 298.1 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.009063, allocations: 344.6 kB / 298.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.009185, allocations: 58.55 kB / 298.5 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.00922, allocations: 28.84 kB / 298.5 MB, free: 420 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.009239, allocations: 0 / 298.5 MB, free: 420 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.009261, allocations: 38.5 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.009262, allocations: 0 / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001691/0.009431, allocations: 89.53 kB / 298.6 MB, free: 276 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.009455, allocations: 51.41 kB / 298.7 MB, free: 212 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.009518, allocations: 114.7 kB / 298.8 MB, free: 84 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.009531, allocations: 25.7 kB / 298.8 MB, free: 52 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.009596, allocations: 123.8 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.009622, allocations: 35.69 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.00967, allocations: 37.64 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.009749, allocations: 322.8 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.009773, allocations: 15.98 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.631e-05/0.00982, allocations: 54.53 kB / 299.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.08e-05/0.00991, allocations: 91.22 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.009913, allocations: 4 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000127/0.01004, allocations: 97.53 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.01005, allocations: 4 kB / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01006, allocations: 0 / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.01007, allocations: 7.938 kB / 299.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.01025, allocations: 51.89 kB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002516/0.0105, allocations: 0.5782 MB / 300.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.338e-05/0.01056, allocations: 19.89 kB / 300.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.01057, allocations: 8.219 kB / 300.2 MB, free: 14.54 MB / 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 6.894e-05/0.01064, allocations: 121.8 kB / 300.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.01067, allocations: 11.94 kB / 300.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.01084, allocations: 103.7 kB / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.01084, allocations: 0 / 300.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.01084, allocations: 3.984 kB / 300.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01084, allocations: 4 kB / 300.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.011, allocations: 97.86 kB / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.011, allocations: 4 kB / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.01113, allocations: 43.91 kB / 300.6 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.01116, allocations: 15.83 kB / 300.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01116, allocations: 0 / 300.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.01118, allocations: 11.98 kB / 300.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000207/0.01138, allocations: 0.5782 MB / 301.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.01139, allocations: 4 kB / 301.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.01154, allocations: 204 kB / 301.4 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.01156, allocations: 12.03 kB / 301.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/0.01162, allocations: 0 / 301.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.01165, allocations: 11.97 kB / 301.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.01166, allocations: 8 kB / 301.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.033e-05/0.01168, allocations: 16.84 kB / 301.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01168, allocations: 0 / 301.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002897/0.01197, allocations: 71.69 kB / 301.6 MB, free: 13.15 MB / 298.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.0002694/0.01224, allocations: 176 kB / 301.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.01238, allocations: 68.77 kB / 301.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.01239, allocations: 480 / 301.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.687e-05/0.01246, allocations: 63.25 kB / 301.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.01266, allocations: 55.61 kB / 301.9 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.0145, allocations: 306.5 kB / 302.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.974e-05/0.01454, allocations: 67.34 kB / 302.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.467e-05/0.01462, allocations: 28.69 kB / 302.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.008e-05/0.01469, allocations: 63.31 kB / 302.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01469, allocations: 0 / 302.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of Templates: time 0.004547/0.01924, allocations: 2.342 MB / 304.7 MB, free: 9.988 MB / 298.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8985108146443963]