Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001216/0.001216, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.134/1.134, allocations: 177 MB / 205.2 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3102/0.3102, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.004e-05/1.004e-05, allocations: 3.984 kB / 378.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/4.14e-05, allocations: 3.719 kB / 378.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003542/0.003584, allocations: 1.886 MB / 380.7 MB, free: 464 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.006235, allocations: 1.336 MB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.006357, allocations: 4 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.006707, allocations: 59.61 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003754/0.007082, allocations: 91.44 kB / 382.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.007809, allocations: 219.1 kB / 382.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004842/0.008293, allocations: 421.4 kB / 382.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.008369, allocations: 12.94 kB / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004167/0.008785, allocations: 219.2 kB / 383 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.009064, allocations: 147.5 kB / 383.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.0091, allocations: 11.94 kB / 383.2 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.009563, allocations: 227.5 kB / 383.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.009774, allocations: 139.4 kB / 383.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.009925, allocations: 115.5 kB / 383.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008981/0.01082, allocations: 0.5214 MB / 384.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01083, allocations: 4 kB / 384.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01083, allocations: 7.938 kB / 384.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.01084, allocations: 0 / 384.2 MB, free: 12.94 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.001192/0.01203, allocations: 0.819 MB / 385 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.01208, allocations: 8.031 kB / 385 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.01224, allocations: 92.55 kB / 385.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.01263, allocations: 246 kB / 385.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.01267, allocations: 41.36 kB / 385.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.01274, allocations: 44.38 kB / 385.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.01346, allocations: 405.5 kB / 385.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.01347, allocations: 7.938 kB / 385.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.01351, allocations: 12 kB / 385.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.315e-05/0.01361, allocations: 61.28 kB / 385.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.01415, allocations: 295.7 kB / 386.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.01624, allocations: 1.149 MB / 387.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000675/0.01691, allocations: 284 kB / 387.6 MB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.01706, allocations: 68.12 kB / 387.7 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/0.0171, allocations: 8.234 kB / 387.7 MB, free: 9.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.01714, allocations: 41.61 kB / 387.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 3.426e-06/0.01714, allocations: 0 / 387.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006458/0.01779, allocations: 267.9 kB / 388 MB, free: 8.988 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.01783, allocations: 55.41 kB / 388 MB, free: 8.922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.01809, allocations: 282.7 kB / 388.3 MB, free: 8.625 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.01811, allocations: 29.7 kB / 388.3 MB, free: 8.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.01829, allocations: 335.2 kB / 388.7 MB, free: 8.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.453e-05/0.01838, allocations: 107.2 kB / 388.8 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.01851, allocations: 91.3 kB / 388.9 MB, free: 8.055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.01867, allocations: 0.5079 MB / 389.4 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.01881, allocations: 55.95 kB / 389.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.019, allocations: 210.9 kB / 389.6 MB, free: 7.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.01929, allocations: 303.7 kB / 389.9 MB, free: 6.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01929, allocations: 0 / 389.9 MB, free: 6.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003965/0.01969, allocations: 313.1 kB / 390.2 MB, free: 6.531 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.01971, allocations: 8 kB / 390.2 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.01972, allocations: 11.88 kB / 390.2 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.01974, allocations: 4 kB / 390.2 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.02013, allocations: 164.3 kB / 390.4 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.02208, allocations: 5.406 MB / 395.8 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.02224, allocations: 31.77 kB / 395.8 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.02227, allocations: 24.38 kB / 395.9 MB, free: 0.7148 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.0001525/0.02242, allocations: 188.4 kB / 396.1 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.02247, allocations: 31.8 kB / 396.1 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005427/0.02301, allocations: 376.1 kB / 396.5 MB, free: 116 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.02302, allocations: 7.984 kB / 396.5 MB, free: 108 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.02302, allocations: 0 / 396.5 MB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.02303, allocations: 4 kB / 396.5 MB, free: 104 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.02341, allocations: 356.4 kB / 396.8 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.02341, allocations: 0 / 396.8 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.02372, allocations: 151.8 kB / 397 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.02372, allocations: 0 / 397 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.02375, allocations: 8 kB / 397 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001818/0.02556, allocations: 5.407 MB / 402.4 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.02557, allocations: 0 / 402.4 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.02604, allocations: 457.1 kB / 402.8 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.02615, allocations: 63.69 kB / 402.9 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.02619, allocations: 4 kB / 402.9 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.02628, allocations: 11.98 kB / 402.9 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.02636, allocations: 27.91 kB / 402.9 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.02638, allocations: 19.98 kB / 402.9 MB, free: 9.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.0265, allocations: 196 kB / 403.1 MB, free: 9.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0265, allocations: 0 / 403.1 MB, free: 9.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005212/0.02702, allocations: 195.4 kB / 403.3 MB, free: 9.008 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.0003375/0.02735, allocations: 170.9 kB / 403.5 MB, free: 8.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005546/0.02791, allocations: 292 kB / 403.8 MB, free: 8.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.02791, allocations: 0 / 403.8 MB, free: 8.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.0282, allocations: 200.3 kB / 404 MB, free: 8.344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.0285, allocations: 40.38 kB / 404 MB, free: 8.305 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.03003, allocations: 0.8283 MB / 404.8 MB, free: 7.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.663e-05/0.03013, allocations: 156.7 kB / 405 MB, free: 7.273 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.03032, allocations: 110.7 kB / 405.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.152e-05/0.03041, allocations: 40.48 kB / 405.1 MB, free: 7.125 MB / 378.7 MB Notification: Performance of SimCode: time 2.044e-06/0.03042, allocations: 0 / 405.1 MB, free: 7.125 MB / 378.7 MB Notification: Performance of Templates: time 0.009164/0.03958, allocations: 5.805 MB / 411 MB, free: 1.41 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.976577278925106]