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.001377/0.001377, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001406/0.001406, allocations: 162.8 kB / 25.61 MB, free: 8.902 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.9272/0.9272, allocations: 177.1 MB / 206 MB, free: 4.504 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.1467/0.1467, allocations: 34.26 MB / 296.8 MB, free: 13.93 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.363e-06/1.363e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.972e-05, allocations: 2.312 kB / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002009/0.002029, allocations: 1.844 MB / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.003541, allocations: 1.352 MB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.003611, allocations: 0 / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.00385, allocations: 39.77 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.003995, allocations: 55.5 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.004473, allocations: 259 kB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.004576, allocations: 107.3 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.004614, allocations: 5.312 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.004802, allocations: 75.67 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.862e-05/0.004861, allocations: 31.91 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.004874, allocations: 4 kB / 383.1 MB, free: 19.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.005313, allocations: 323.2 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.005334, allocations: 19.92 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.005363, allocations: 31.86 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.005699, allocations: 322.9 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.005707, allocations: 0 / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005708, allocations: 3.938 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.005713, allocations: 4 kB / 383.8 MB, free: 18.9 MB / 314.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.0003862/0.006099, allocations: 467.7 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.006135, allocations: 8.031 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.006179, allocations: 24.84 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.277e-05/0.006252, allocations: 120.4 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.006267, allocations: 12.38 kB / 384.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.006291, allocations: 16.38 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.006438, allocations: 119.9 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.006447, allocations: 3.938 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.006457, allocations: 4 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.006463, allocations: 4 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.752e-05/0.006521, allocations: 47.95 kB / 384.6 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.007017, allocations: 431 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.007132, allocations: 83.14 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.007159, allocations: 27.67 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.007177, allocations: 3.938 kB / 385.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.007191, allocations: 37.39 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.007192, allocations: 0 / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001532/0.007345, allocations: 101.5 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.783e-05/0.007363, allocations: 55.41 kB / 385.3 MB, free: 17.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.278e-05/0.007406, allocations: 173.8 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.007414, allocations: 29.7 kB / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.007454, allocations: 162.6 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.007475, allocations: 47.61 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.00752, allocations: 39.36 kB / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.007572, allocations: 496.1 kB / 386.2 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.493e-05/0.007597, allocations: 15.98 kB / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.958e-05/0.007647, allocations: 89.05 kB / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.18e-05/0.007729, allocations: 98.47 kB / 386.4 MB, free: 16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.007732, allocations: 0 / 386.4 MB, free: 16 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001406/0.007873, allocations: 121.4 kB / 386.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.007891, allocations: 8 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.007896, allocations: 0 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.00791, allocations: 7.938 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.008064, allocations: 47.91 kB / 386.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000272/0.008336, allocations: 0.8894 MB / 387.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.008395, allocations: 20.11 kB / 387.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.008405, allocations: 11.98 kB / 387.5 MB, free: 14.86 MB / 314.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.281e-05/0.008478, allocations: 172.4 kB / 387.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.008503, allocations: 7.953 kB / 387.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.008691, allocations: 126.4 kB / 387.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.008693, allocations: 3.938 kB / 387.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.008695, allocations: 8 kB / 387.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008698, allocations: 0 / 387.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.008834, allocations: 137.1 kB / 388 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.008836, allocations: 4 kB / 388 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.561e-05/0.008932, allocations: 35.98 kB / 388 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.008935, allocations: 3.938 kB / 388 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.008945, allocations: 11.98 kB / 388 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001373/0.009083, allocations: 0.8932 MB / 388.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.009084, allocations: 0 / 388.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.009222, allocations: 275.9 kB / 389.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.009255, allocations: 11.94 kB / 389.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.009269, allocations: 4 kB / 389.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.002e-05/0.009319, allocations: 7.984 kB / 389.2 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.009354, allocations: 11.98 kB / 389.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.009359, allocations: 4 kB / 389.2 MB, free: 13.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.064e-05/0.00938, allocations: 131.2 kB / 389.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00938, allocations: 0 / 389.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.009638, allocations: 87.62 kB / 389.4 MB, free: 12.85 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.0002029/0.009841, allocations: 178.8 kB / 389.6 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.01001, allocations: 99.62 kB / 389.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01001, allocations: 0 / 389.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.01007, allocations: 55.53 kB / 389.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.01027, allocations: 14.84 kB / 389.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006499/0.01092, allocations: 320.1 kB / 390.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.797e-05/0.01095, allocations: 67.28 kB / 390.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.56e-05/0.01101, allocations: 24.69 kB / 390.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/0.01107, allocations: 90.19 kB / 390.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01107, allocations: 0 / 390.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of Templates: time 0.004269/0.01534, allocations: 2.73 MB / 393 MB, free: 9.281 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 -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: 3.2370013878680766]