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.000797/0.000797, allocations: 76.17 kB / 9.93 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001873, allocations: 449.7 kB / 10.37 MB, free: 328 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.001042/0.001042, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001203/0.002245, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09317/1.097, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.2428/0.2428, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02384/0.2667, allocations: 13.09 MB / 291.3 MB, free: 7.375 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.352e-06/1.352e-06, allocations: 0 / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.569e-05, allocations: 3.844 kB / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002876/0.002891, allocations: 1.921 MB / 294.6 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.004555, allocations: 1.38 MB / 295.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.004609, allocations: 0 / 295.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.004741, allocations: 47.75 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.004847, allocations: 55.5 kB / 296 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.005242, allocations: 239 kB / 296.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.005357, allocations: 119.3 kB / 296.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.653e-05/0.005413, allocations: 9.906 kB / 296.4 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.005609, allocations: 71.69 kB / 296.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.005672, allocations: 39.89 kB / 296.5 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.005685, allocations: 4 kB / 296.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003824/0.006067, allocations: 331.3 kB / 296.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.00608, allocations: 7.938 kB / 296.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.006106, allocations: 23.94 kB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.006421, allocations: 287.1 kB / 297.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-05/0.006435, allocations: 0 / 297.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006435, allocations: 0 / 297.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.006449, allocations: 0 / 297.1 MB, free: 1.766 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.000402/0.006851, allocations: 380.9 kB / 297.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.006881, allocations: 8.031 kB / 297.5 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.006916, allocations: 20.92 kB / 297.5 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.006999, allocations: 121.6 kB / 297.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.007013, allocations: 8.375 kB / 297.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.00704, allocations: 12.38 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.007186, allocations: 122.6 kB / 297.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.007193, allocations: 3.938 kB / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.007204, allocations: 8 kB / 297.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.007209, allocations: 0 / 297.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.616e-05/0.007275, allocations: 51.91 kB / 297.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.007754, allocations: 336.7 kB / 298.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.00787, allocations: 62.55 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.007897, allocations: 24.84 kB / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.007921, allocations: 4 kB / 298.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.007941, allocations: 30.56 kB / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.007942, allocations: 3.938 kB / 298.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001439/0.008086, allocations: 91.83 kB / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.008112, allocations: 55.41 kB / 298.5 MB, free: 340 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.216e-05/0.008165, allocations: 118.6 kB / 298.6 MB, free: 208 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.008176, allocations: 29.7 kB / 298.6 MB, free: 172 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.008221, allocations: 119.8 kB / 298.7 MB, free: 48 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.008248, allocations: 35.69 kB / 298.8 MB, free: 12 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.008298, allocations: 41.64 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.019e-05/0.008368, allocations: 314.8 kB / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.008387, allocations: 15.98 kB / 299.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.008426, allocations: 58.33 kB / 299.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.784e-05/0.008494, allocations: 85.05 kB / 299.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.008497, allocations: 8 kB / 299.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.538e-05/0.008593, allocations: 96.38 kB / 299.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.008602, allocations: 4 kB / 299.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.008607, allocations: 0 / 299.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.008616, allocations: 11.88 kB / 299.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.00874, allocations: 47.91 kB / 299.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000204/0.008944, allocations: 0.5823 MB / 300 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.008986, allocations: 19.89 kB / 300 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.008993, allocations: 7.938 kB / 300 MB, free: 14.66 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 5.392e-05/0.009047, allocations: 109.8 kB / 300.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.009064, allocations: 15.92 kB / 300.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.009196, allocations: 111 kB / 300.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.009198, allocations: 0 / 300.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.009199, allocations: 0 / 300.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.009202, allocations: 4 kB / 300.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.009321, allocations: 97.84 kB / 300.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.009324, allocations: 4 kB / 300.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.996e-05/0.009414, allocations: 35.98 kB / 300.4 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.009443, allocations: 23.81 kB / 300.4 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.009444, allocations: 0 / 300.4 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.009453, allocations: 4 kB / 300.4 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001617/0.009615, allocations: 0.5859 MB / 301 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.009615, allocations: 0 / 301 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.009731, allocations: 205.8 kB / 301.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.009744, allocations: 8 kB / 301.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.069e-05/0.009785, allocations: 0 / 301.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.009815, allocations: 11.98 kB / 301.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.009821, allocations: 7.984 kB / 301.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.196e-05/0.009833, allocations: 17.17 kB / 301.3 MB, free: 13.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009833, allocations: 0 / 301.3 MB, free: 13.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001825/0.01002, allocations: 75.67 kB / 301.3 MB, free: 13.27 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.0002086/0.01022, allocations: 172.1 kB / 301.5 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.01034, allocations: 76.69 kB / 301.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.01034, allocations: 4 kB / 301.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.584e-05/0.01039, allocations: 44.77 kB / 301.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.01055, allocations: 19.94 kB / 301.6 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.01198, allocations: 303.9 kB / 301.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.727e-05/0.01202, allocations: 67.34 kB / 302 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.012e-05/0.01208, allocations: 28.69 kB / 302 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.01214, allocations: 67.36 kB / 302.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01214, allocations: 0 / 302.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of Templates: time 0.004134/0.01627, allocations: 2.517 MB / 304.6 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.920559768564999]