Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001046/0.001046, allocations: 87.56 kB / 21.19 MB, free: 3.402 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.001596/0.001596, allocations: 161 kB / 24.56 MB, free: 40 kB / 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.009/1.009, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2504/0.2504, allocations: 32.8 MB / 294.3 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.537e-06/3.537e-06, allocations: 3.984 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.96e-05, allocations: 6.25 kB / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002112/0.002132, allocations: 1.902 MB / 378 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.003683, allocations: 1.336 MB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.003733, allocations: 4 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.003929, allocations: 51.62 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.004118, allocations: 99.42 kB / 379.4 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.004455, allocations: 227 kB / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.004723, allocations: 417.5 kB / 380.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.004768, allocations: 12.94 kB / 380.1 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.00499, allocations: 211.2 kB / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.005157, allocations: 151.4 kB / 380.4 MB, free: 224 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.005182, allocations: 12 kB / 380.4 MB, free: 212 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.005478, allocations: 227.5 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.005598, allocations: 139.4 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.929e-05/0.005687, allocations: 115.5 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.006159, allocations: 0.5253 MB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.006161, allocations: 3.938 kB / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006161, allocations: 0 / 381.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.006165, allocations: 0 / 381.4 MB, free: 15.2 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.0006951/0.00686, allocations: 0.8229 MB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.006895, allocations: 12.03 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.101e-05/0.006986, allocations: 96.55 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.007213, allocations: 243.8 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.00724, allocations: 29.38 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.007289, allocations: 48.36 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.007707, allocations: 409.5 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.007718, allocations: 3.938 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.007742, allocations: 16 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.042e-05/0.007793, allocations: 57.28 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.008196, allocations: 295.7 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.009387, allocations: 1.149 MB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.009699, allocations: 290 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.849e-05/0.009788, allocations: 64.11 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.009814, allocations: 12.22 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.009837, allocations: 45.56 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.232e-06/0.009838, allocations: 0 / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004068/0.01025, allocations: 256 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.01028, allocations: 59.41 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.01045, allocations: 282.7 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.01047, allocations: 33.7 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.0106, allocations: 331.2 kB / 385.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.01066, allocations: 107.2 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.01074, allocations: 91.3 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.01086, allocations: 0.5117 MB / 386.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.473e-05/0.01095, allocations: 55.95 kB / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.0111, allocations: 219.5 kB / 386.9 MB, free: 9.453 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.01136, allocations: 303.7 kB / 387.2 MB, free: 9.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01137, allocations: 4 kB / 387.2 MB, free: 9.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003354/0.0117, allocations: 305.1 kB / 387.5 MB, free: 8.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.01171, allocations: 8.469 kB / 387.5 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01172, allocations: 11.94 kB / 387.5 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.01173, allocations: 4 kB / 387.5 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.01203, allocations: 163.8 kB / 387.7 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.01356, allocations: 5.403 MB / 393.1 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.01366, allocations: 39.77 kB / 393.1 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.01368, allocations: 20 kB / 393.2 MB, free: 2.965 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.0001029/0.01379, allocations: 184.4 kB / 393.3 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.01383, allocations: 35.8 kB / 393.4 MB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004973/0.01433, allocations: 372.2 kB / 393.7 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01433, allocations: 7.984 kB / 393.7 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.01434, allocations: 0 / 393.7 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01434, allocations: 4 kB / 393.8 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.01462, allocations: 356.4 kB / 394.1 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01463, allocations: 0 / 394.1 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.0149, allocations: 143.8 kB / 394.2 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.0149, allocations: 0 / 394.2 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.01492, allocations: 16 kB / 394.3 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.01636, allocations: 5.41 MB / 399.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01636, allocations: 0 / 399.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.01675, allocations: 457.1 kB / 400.1 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.01683, allocations: 55.75 kB / 400.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.01686, allocations: 11.94 kB / 400.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.116e-05/0.01694, allocations: 11.98 kB / 400.2 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.01699, allocations: 36.12 kB / 400.2 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.01701, allocations: 15.98 kB / 400.2 MB, free: 11.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001016/0.01711, allocations: 200 kB / 400.4 MB, free: 11.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01711, allocations: 0 / 400.4 MB, free: 11.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.01743, allocations: 183.3 kB / 400.6 MB, free: 11.26 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.0002242/0.01766, allocations: 178.9 kB / 400.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004562/0.01811, allocations: 292.2 kB / 401.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01811, allocations: 0 / 401.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.01837, allocations: 195.5 kB / 401.3 MB, free: 10.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.0186, allocations: 40.38 kB / 401.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.01973, allocations: 0.8314 MB / 402.1 MB, free: 9.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.589e-05/0.01981, allocations: 156.7 kB / 402.3 MB, free: 9.523 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.01998, allocations: 102.7 kB / 402.4 MB, free: 9.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.013e-05/0.02006, allocations: 44.48 kB / 402.4 MB, free: 9.379 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02006, allocations: 3.938 kB / 402.4 MB, free: 9.375 MB / 378.7 MB Notification: Performance of Templates: time 0.007183/0.02724, allocations: 5.791 MB / 408.2 MB, free: 3.68 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.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.0.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.9320426182821393]