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.0009694/0.0009694, 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.001078/0.001078, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9488/0.9488, allocations: 177.2 MB / 206.1 MB, free: 4.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.1588/0.1588, allocations: 34.27 MB / 296.9 MB, free: 13.91 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_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 1.353e-06/1.353e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.767e-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_thickEdgedOverall_DPMFLOW): time 0.005222/0.00524, allocations: 1.871 MB / 381.2 MB, free: 21.49 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.006706, allocations: 1.324 MB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.691e-05/0.006773, allocations: 0 / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.007013, allocations: 63.56 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.007235, allocations: 87.44 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003637/0.007599, allocations: 231.1 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003285/0.01088, allocations: 417.4 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.01093, allocations: 16.94 kB / 383.3 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.01116, allocations: 207.2 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.01131, allocations: 143.5 kB / 383.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.01133, allocations: 11.94 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.01163, allocations: 235.4 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.01174, allocations: 123.4 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.01183, allocations: 119.5 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004602/0.01229, allocations: 0.5176 MB / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01229, allocations: 0 / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01229, allocations: 0 / 384.7 MB, free: 18.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.0123, allocations: 0 / 384.7 MB, free: 18.02 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.0007144/0.01301, allocations: 0.8305 MB / 385.5 MB, free: 17.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.01304, allocations: 12.03 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.01314, allocations: 92.55 kB / 385.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.01334, allocations: 231.8 kB / 385.8 MB, free: 16.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.01336, allocations: 33.36 kB / 385.9 MB, free: 16.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.01341, allocations: 44.36 kB / 385.9 MB, free: 16.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.01377, allocations: 365.5 kB / 386.3 MB, free: 16.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.01378, allocations: 3.938 kB / 386.3 MB, free: 16.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003043/0.01683, allocations: 20 kB / 386.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-05/0.01688, allocations: 61.27 kB / 386.3 MB, free: 16.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.01713, allocations: 221 kB / 386.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.01832, allocations: 1.033 MB / 387.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.01861, allocations: 272 kB / 387.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.063e-05/0.01868, allocations: 56.12 kB / 387.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.0187, allocations: 8.219 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.01872, allocations: 41.62 kB / 388 MB, free: 14.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.01872, allocations: 0 / 388 MB, free: 14.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003742/0.0191, allocations: 244.6 kB / 388.2 MB, free: 14.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.01912, allocations: 55.41 kB / 388.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.01924, allocations: 282.6 kB / 388.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.01925, allocations: 29.7 kB / 388.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/0.01935, allocations: 347.1 kB / 388.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.0194, allocations: 99.16 kB / 389 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.115e-05/0.01949, allocations: 91.31 kB / 389.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.372e-05/0.01954, allocations: 0.5118 MB / 389.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.01961, allocations: 43.95 kB / 389.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0023/0.02191, allocations: 206.5 kB / 389.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.02215, allocations: 294.7 kB / 390.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.02215, allocations: 0 / 390.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000359/0.02251, allocations: 285.5 kB / 390.4 MB, free: 11.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.02253, allocations: 8.031 kB / 390.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.02253, allocations: 4 kB / 390.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.02254, allocations: 11.94 kB / 390.4 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.02295, allocations: 163.8 kB / 390.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008529/0.0238, allocations: 5.395 MB / 396 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.02394, allocations: 39.73 kB / 396 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.02397, allocations: 19.98 kB / 396 MB, free: 6.121 MB / 314.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.0001023/0.02407, allocations: 180.4 kB / 396.2 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.02413, allocations: 35.8 kB / 396.2 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005224/0.02466, allocations: 360.2 kB / 396.6 MB, free: 5.539 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.02466, allocations: 4 kB / 396.6 MB, free: 5.535 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.02466, allocations: 4 kB / 396.6 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.02467, allocations: 3.984 kB / 396.6 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.02497, allocations: 269 kB / 396.9 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.02497, allocations: 0 / 396.9 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.02531, allocations: 139.9 kB / 397 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.02531, allocations: 0 / 397 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.02533, allocations: 15.94 kB / 397 MB, free: 5.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007763/0.02611, allocations: 5.399 MB / 402.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02611, allocations: 0 / 402.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.02647, allocations: 430.1 kB / 402.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.664e-05/0.02656, allocations: 63.72 kB / 402.9 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.02659, allocations: 8 kB / 402.9 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.02668, allocations: 12.28 kB / 402.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.02673, allocations: 35.89 kB / 403 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.02675, allocations: 12 kB / 403 MB, free: 14.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.027e-05/0.02683, allocations: 184 kB / 403.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02683, allocations: 0 / 403.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003532/0.02718, allocations: 195.2 kB / 403.3 MB, free: 14.57 MB / 330.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.0002318/0.02741, allocations: 186.8 kB / 403.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.02782, allocations: 276.6 kB / 403.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.02782, allocations: 0 / 403.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.02807, allocations: 187.4 kB / 404 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.02829, allocations: 43.22 kB / 404 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.0293, allocations: 0.8108 MB / 404.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.701e-05/0.02938, allocations: 160.6 kB / 405 MB, free: 12.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.02952, allocations: 70.77 kB / 405.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.02963, allocations: 114.2 kB / 405.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02963, allocations: 0 / 405.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of Templates: time 0.008205/0.03784, allocations: 6.5 MB / 411.7 MB, free: 6.281 MB / 330.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.6334334681741893]