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_thickEdgedOverall_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.001565/0.001565, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001283/0.001283, allocations: 171.3 kB / 24.82 MB, free: 9.266 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 1.07/1.07, 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.3263/0.3263, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 179] 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_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|L|A_1.[0-9,]+.|C_1.[0-9,]+.|A0_2_A1.[0-9,]+.|l_bar|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|A_cross.[0-9,]+.|velocity.[0-9,]+.|zeta_TOT.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|L|A_1.[0-9,]+.|C_1.[0-9,]+.|A0_2_A1.[0-9,]+.|l_bar|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|DP_plot.[0-9,]+.|A_cross.[0-9,]+.|velocity.[0-9,]+.|zeta_TOT.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.246e-06/3.246e-06, allocations: 4 kB / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.568e-05/3.892e-05, allocations: 5.125 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002696/0.002735, allocations: 1.864 MB / 380.4 MB, free: 488 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.004503, allocations: 1.328 MB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.004608, allocations: 4 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.004915, allocations: 59.61 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.005188, allocations: 95.44 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.00581, allocations: 227 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004279/0.006238, allocations: 413.4 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.34e-05/0.006311, allocations: 24.92 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.006648, allocations: 203.2 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.006829, allocations: 147.5 kB / 382.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.006855, allocations: 12 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.007197, allocations: 223.4 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.007332, allocations: 127.4 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.456e-05/0.007427, allocations: 119.5 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005482/0.007975, allocations: 0.5214 MB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.007977, allocations: 4 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.007979, allocations: 0 / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.007984, allocations: 0 / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.000941/0.008925, allocations: 0.8306 MB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.008985, allocations: 12.03 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.009114, allocations: 92.5 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007062/0.00982, allocations: 227.9 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.009854, allocations: 37.38 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.058e-05/0.009915, allocations: 44.36 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.01036, allocations: 361.5 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.01038, allocations: 7.875 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.01041, allocations: 19.98 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.382e-05/0.01048, allocations: 57.28 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.01071, allocations: 225 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.01198, allocations: 1.036 MB / 386.8 MB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.01227, allocations: 272 kB / 387.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.01233, allocations: 56.11 kB / 387.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.01238, allocations: 27.28 kB / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.01242, allocations: 37.62 kB / 387.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.984e-06/0.01242, allocations: 0 / 387.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.000381/0.0128, allocations: 236 kB / 387.4 MB, free: 9.316 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.01283, allocations: 59.34 kB / 387.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.01301, allocations: 282.6 kB / 387.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.01303, allocations: 29.7 kB / 387.8 MB, free: 8.914 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.01319, allocations: 339.2 kB / 388.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.01326, allocations: 103.2 kB / 388.2 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.132e-05/0.01335, allocations: 91.27 kB / 388.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.01354, allocations: 0.5157 MB / 388.8 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.01361, allocations: 35.97 kB / 388.9 MB, free: 7.816 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.01377, allocations: 210.7 kB / 389.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.01405, allocations: 287.6 kB / 389.3 MB, free: 7.195 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.01406, allocations: 4 kB / 389.3 MB, free: 7.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003891/0.01445, allocations: 281.2 kB / 389.6 MB, free: 6.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.01447, allocations: 8 kB / 389.6 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.01447, allocations: 4 kB / 389.6 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.0145, allocations: 12.34 kB / 389.6 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.01483, allocations: 171.8 kB / 389.8 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.01706, allocations: 5.406 MB / 395.2 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.01719, allocations: 28.16 kB / 395.2 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.01721, allocations: 27.98 kB / 395.3 MB, free: 1.086 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.01734, allocations: 176.5 kB / 395.4 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.01738, allocations: 31.8 kB / 395.5 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00045/0.01783, allocations: 356.1 kB / 395.8 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01784, allocations: 4 kB / 395.8 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01784, allocations: 0 / 395.8 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01784, allocations: 0 / 395.8 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.01813, allocations: 273 kB / 396.1 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01814, allocations: 4 kB / 396.1 MB, free: 220 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.01842, allocations: 139.9 kB / 396.2 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.01842, allocations: 4 kB / 396.2 MB, free: 76 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.01844, allocations: 11.94 kB / 396.3 MB, free: 64 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.02092, allocations: 5.399 MB / 401.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.02092, allocations: 0 / 401.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.0213, allocations: 436.7 kB / 402.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-05/0.02138, allocations: 59.72 kB / 402.1 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.02141, allocations: 7.938 kB / 402.1 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.0215, allocations: 8 kB / 402.2 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.02155, allocations: 31.89 kB / 402.2 MB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.02157, allocations: 12 kB / 402.2 MB, free: 9.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.233e-05/0.02166, allocations: 192.1 kB / 402.4 MB, free: 9.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02166, allocations: 4 kB / 402.4 MB, free: 9.734 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003564/0.02202, allocations: 191.2 kB / 402.6 MB, free: 9.547 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002614/0.02228, allocations: 174.9 kB / 402.7 MB, free: 9.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.0227, allocations: 267.3 kB / 403 MB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.0227, allocations: 0.9375 kB / 403 MB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.02295, allocations: 199.4 kB / 403.2 MB, free: 8.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.02319, allocations: 40.38 kB / 403.2 MB, free: 8.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.02437, allocations: 0.821 MB / 404.1 MB, free: 8.012 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.02447, allocations: 156.6 kB / 404.2 MB, free: 7.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.0246, allocations: 70.77 kB / 404.3 MB, free: 7.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.02472, allocations: 118.2 kB / 404.4 MB, free: 7.652 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02473, allocations: 0 / 404.4 MB, free: 7.652 MB / 378.7 MB Notification: Performance of Templates: time 0.009016/0.03374, allocations: 6.391 MB / 410.8 MB, free: 1.328 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_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.8965011187829077]