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.001094/0.001094, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009586/0.0009586, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.005/1.005, allocations: 177 MB / 204.8 MB, free: 5.594 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.2679/0.2679, allocations: 34.86 MB / 296.3 MB, free: 496 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 2.014e-06/2.014e-06, allocations: 0 / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.274e-05, allocations: 7.156 kB / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003918/0.003951, allocations: 1.882 MB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.006423, allocations: 1.34 MB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.006564, allocations: 0 / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.006943, allocations: 59.62 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.007321, allocations: 95.42 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000688/0.008009, allocations: 223.1 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.008504, allocations: 421.4 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.121e-05/0.008585, allocations: 12.94 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.009089, allocations: 207.2 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.009401, allocations: 159.5 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.009438, allocations: 8 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005545/0.009992, allocations: 227.4 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.01022, allocations: 143.4 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.01037, allocations: 115.5 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008653/0.01124, allocations: 0.5136 MB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.01124, allocations: 0 / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.01125, allocations: 7.922 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.01126, allocations: 4 kB / 384.2 MB, free: 12.63 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.001236/0.01249, allocations: 0.8229 MB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.01254, allocations: 8.031 kB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.0127, allocations: 96.55 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.01309, allocations: 254 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.01313, allocations: 37.38 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/0.01321, allocations: 44.36 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007083/0.01392, allocations: 409.5 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.01393, allocations: 3.938 kB / 385.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.01398, allocations: 16 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.344e-05/0.01407, allocations: 61.28 kB / 385.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/0.0146, allocations: 291.7 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.0167, allocations: 1.137 MB / 387.3 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.0172, allocations: 288 kB / 387.6 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.01734, allocations: 68.12 kB / 387.7 MB, free: 9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.01739, allocations: 12.22 kB / 387.7 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.01741, allocations: 37.62 kB / 387.7 MB, free: 8.941 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.044e-06/0.01742, allocations: 0 / 387.7 MB, free: 8.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006174/0.01803, allocations: 267.9 kB / 388 MB, free: 8.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.01807, allocations: 55.41 kB / 388.1 MB, free: 8.609 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.01832, allocations: 282.7 kB / 388.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.01835, allocations: 29.7 kB / 388.4 MB, free: 8.277 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.01853, allocations: 339.2 kB / 388.7 MB, free: 7.941 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.455e-05/0.01862, allocations: 99.17 kB / 388.8 MB, free: 7.844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.01875, allocations: 95.3 kB / 388.9 MB, free: 7.742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.01891, allocations: 0.5079 MB / 389.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.01905, allocations: 55.95 kB / 389.4 MB, free: 7.168 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.01928, allocations: 214.9 kB / 389.7 MB, free: 6.891 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.01969, allocations: 303.7 kB / 390 MB, free: 6.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.01969, allocations: 0 / 390 MB, free: 6.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005626/0.02026, allocations: 313.1 kB / 390.3 MB, free: 6.215 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.02028, allocations: 4 kB / 390.3 MB, free: 6.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.02029, allocations: 7.938 kB / 390.3 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.02031, allocations: 8 kB / 390.3 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.02083, allocations: 159.9 kB / 390.4 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.02299, allocations: 5.411 MB / 395.8 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.02319, allocations: 31.78 kB / 395.9 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.02323, allocations: 23.98 kB / 395.9 MB, free: 412 kB / 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.0001601/0.02339, allocations: 188.8 kB / 396.1 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.02347, allocations: 35.8 kB / 396.1 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007361/0.0242, allocations: 376 kB / 396.5 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.02421, allocations: 4 kB / 396.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.02421, allocations: 0 / 396.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.02422, allocations: 0 / 396.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.0247, allocations: 360.4 kB / 396.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.0247, allocations: 0 / 396.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/0.02517, allocations: 143.8 kB / 397 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.02518, allocations: 8 kB / 397 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.02521, allocations: 11.98 kB / 397 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/0.02718, allocations: 5.399 MB / 402.4 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.02719, allocations: 4.031 kB / 402.4 MB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.02781, allocations: 457.1 kB / 402.9 MB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.02795, allocations: 63.69 kB / 402.9 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.02799, allocations: 8 kB / 402.9 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.02813, allocations: 11.98 kB / 402.9 MB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.02822, allocations: 31.89 kB / 403 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.02824, allocations: 16 kB / 403 MB, free: 9.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.0284, allocations: 196 kB / 403.2 MB, free: 8.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0284, allocations: 0 / 403.2 MB, free: 8.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005687/0.02896, allocations: 187.3 kB / 403.4 MB, free: 8.699 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.0002943/0.02926, allocations: 178.9 kB / 403.5 MB, free: 8.516 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005228/0.02978, allocations: 296 kB / 403.8 MB, free: 8.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.02978, allocations: 3.938 kB / 403.8 MB, free: 8.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.03008, allocations: 195.4 kB / 404 MB, free: 8.023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.03033, allocations: 41.31 kB / 404.1 MB, free: 7.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.03165, allocations: 0.8144 MB / 404.9 MB, free: 7.137 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.03182, allocations: 168.6 kB / 405 MB, free: 6.953 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002877/0.03211, allocations: 106.7 kB / 405.1 MB, free: 6.848 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.03224, allocations: 36.48 kB / 405.2 MB, free: 6.812 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.03224, allocations: 0 / 405.2 MB, free: 6.812 MB / 378.7 MB Notification: Performance of Templates: time 0.01269/0.04493, allocations: 5.818 MB / 411 MB, free: 1.086 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.8147216672077775]