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.0009825/0.0009825, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001268/0.001268, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.055/1.055, allocations: 177 MB / 205.1 MB, free: 5.465 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.2409/0.2409, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 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.603e-06/1.603e-06, allocations: 0 / 379.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.103e-05, allocations: 4.703 kB / 379.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002299/0.00232, allocations: 1.883 MB / 381.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.003858, allocations: 1.321 MB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.088e-05/0.003929, allocations: 7.938 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.004169, allocations: 59.61 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.004391, allocations: 91.42 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.004774, allocations: 223.1 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.005067, allocations: 421.4 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.005112, allocations: 12.94 kB / 383.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.005359, allocations: 211.2 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.005513, allocations: 147.5 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.005534, allocations: 12 kB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.005833, allocations: 231.4 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.005983, allocations: 123.4 kB / 384 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.006117, allocations: 115.5 kB / 384.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000492/0.006609, allocations: 0.5214 MB / 384.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.00661, allocations: 0 / 384.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006611, allocations: 0 / 384.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.006615, allocations: 0 / 384.6 MB, free: 12.41 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.000752/0.007367, allocations: 0.8383 MB / 385.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.007407, allocations: 8.031 kB / 385.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.007544, allocations: 88.56 kB / 385.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.00778, allocations: 234 kB / 385.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.007805, allocations: 33.31 kB / 385.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.007847, allocations: 40.38 kB / 385.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.008206, allocations: 361.5 kB / 386.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.008218, allocations: 3.938 kB / 386.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.00824, allocations: 19.98 kB / 386.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.008296, allocations: 65.27 kB / 386.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.0085, allocations: 225 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.009634, allocations: 1.04 MB / 387.5 MB, free: 9.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.009908, allocations: 264 kB / 387.8 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.592e-05/0.009974, allocations: 60.12 kB / 387.9 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.599e-05/0.01001, allocations: 22.48 kB / 387.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.01003, allocations: 41.62 kB / 387.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.173e-06/0.01003, allocations: 0 / 387.9 MB, free: 8.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.000311/0.01034, allocations: 239.9 kB / 388.2 MB, free: 8.738 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.01036, allocations: 55.41 kB / 388.2 MB, free: 8.672 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.0105, allocations: 278.6 kB / 388.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.01052, allocations: 29.7 kB / 388.5 MB, free: 8.344 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.01065, allocations: 343.2 kB / 388.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.01071, allocations: 103.1 kB / 388.9 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.829e-05/0.01079, allocations: 91.28 kB / 389 MB, free: 7.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.01092, allocations: 0.5118 MB / 389.5 MB, free: 7.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.469e-05/0.01097, allocations: 43.97 kB / 389.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.01111, allocations: 210.8 kB / 389.8 MB, free: 6.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.01133, allocations: 287.6 kB / 390.1 MB, free: 6.617 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01133, allocations: 0 / 390.1 MB, free: 6.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002997/0.01163, allocations: 281.4 kB / 390.3 MB, free: 6.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.01165, allocations: 8 kB / 390.4 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.01165, allocations: 4 kB / 390.4 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.01167, allocations: 7.938 kB / 390.4 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.01196, allocations: 159.9 kB / 390.5 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.01346, allocations: 5.41 MB / 395.9 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.01356, allocations: 31.78 kB / 396 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.01358, allocations: 27.98 kB / 396 MB, free: 0.5195 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.0001118/0.0137, allocations: 176.4 kB / 396.2 MB, free: 344 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.01374, allocations: 39.8 kB / 396.2 MB, free: 304 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/0.01417, allocations: 360.3 kB / 396.6 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01418, allocations: 4 kB / 396.6 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01418, allocations: 0 / 396.6 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01418, allocations: 0 / 396.6 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.01444, allocations: 277 kB / 396.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01444, allocations: 0 / 396.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.0147, allocations: 135.9 kB / 397 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.0147, allocations: 3.984 kB / 397 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.01472, allocations: 15.94 kB / 397 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.01617, allocations: 5.395 MB / 402.4 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01617, allocations: 0 / 402.4 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.0165, allocations: 429.4 kB / 402.8 MB, free: 9.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.01657, allocations: 55.78 kB / 402.8 MB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.0166, allocations: 11.94 kB / 402.9 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.01668, allocations: 15.98 kB / 402.9 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.01673, allocations: 31.89 kB / 402.9 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.01674, allocations: 8 kB / 402.9 MB, free: 9.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.37e-05/0.01682, allocations: 192 kB / 403.1 MB, free: 9.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01682, allocations: 0 / 403.1 MB, free: 9.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003316/0.01716, allocations: 183.3 kB / 403.3 MB, free: 8.988 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.0002503/0.01741, allocations: 182.9 kB / 403.5 MB, free: 8.801 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004069/0.01781, allocations: 272.5 kB / 403.7 MB, free: 8.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01781, allocations: 3.938 kB / 403.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.01805, allocations: 183.4 kB / 403.9 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.0002115/0.01827, allocations: 44.38 kB / 404 MB, free: 8.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.01928, allocations: 0.8111 MB / 404.8 MB, free: 7.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.952e-05/0.01937, allocations: 164.6 kB / 404.9 MB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.01949, allocations: 70.77 kB / 405 MB, free: 7.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.01961, allocations: 114.2 kB / 405.1 MB, free: 7.094 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01961, allocations: 0 / 405.1 MB, free: 7.094 MB / 378.7 MB Notification: Performance of Templates: time 0.01392/0.03354, allocations: 6.396 MB / 411.5 MB, free: 0.7773 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.576699798926711]