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.001455/0.001455, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.001858/0.001858, allocations: 169.2 kB / 24.91 MB, free: 9.207 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.9517/0.9517, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2857/0.2857, allocations: 34.25 MB / 296.1 MB, free: 0.7227 MB / 266.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.403e-06/1.403e-06, allocations: 0 / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.838e-05, allocations: 6.312 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002523/0.002542, allocations: 1.898 MB / 327.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.004178, allocations: 1.337 MB / 328.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.004234, allocations: 0 / 328.5 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005286/0.00952, allocations: 59.62 kB / 328.6 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.009766, allocations: 95.42 kB / 328.7 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.01019, allocations: 227.5 kB / 328.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.01052, allocations: 425.5 kB / 329.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.01057, allocations: 18.89 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.01083, allocations: 211.2 kB / 329.5 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.011, allocations: 143.4 kB / 329.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.01102, allocations: 12 kB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.01134, allocations: 223.5 kB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.01147, allocations: 127.4 kB / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.01158, allocations: 127.5 kB / 330.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005431/0.01212, allocations: 0.5214 MB / 330.7 MB, free: 2.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.01212, allocations: 3.938 kB / 330.7 MB, free: 2.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01212, allocations: 0 / 330.7 MB, free: 2.266 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.01212, allocations: 4 kB / 330.7 MB, free: 2.262 MB / 298.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.003834/0.01596, allocations: 0.6644 MB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.01599, allocations: 8.031 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.385e-05/0.01608, allocations: 68.88 kB / 331.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.0163, allocations: 213.7 kB / 331.6 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.01633, allocations: 29.38 kB / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.01639, allocations: 40.38 kB / 331.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.01682, allocations: 405.3 kB / 332.1 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.01684, allocations: 3.938 kB / 332.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.01687, allocations: 19.98 kB / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.28e-05/0.01693, allocations: 57.28 kB / 332.2 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.01719, allocations: 205.1 kB / 332.4 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004413/0.0216, allocations: 0.9187 MB / 333.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.02192, allocations: 295.2 kB / 333.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.749e-05/0.02199, allocations: 42.48 kB / 333.6 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.02202, allocations: 12.22 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.02204, allocations: 34.8 kB / 333.7 MB, free: 15.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.02204, allocations: 0 / 333.7 MB, free: 15.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003111/0.02235, allocations: 172.1 kB / 333.8 MB, free: 15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.02238, allocations: 59.34 kB / 333.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.02251, allocations: 203.4 kB / 334.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.02253, allocations: 25.7 kB / 334.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.02265, allocations: 288.4 kB / 334.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/0.0227, allocations: 99.16 kB / 334.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.223e-05/0.0228, allocations: 73.66 kB / 334.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.7e-05/0.02288, allocations: 330.8 kB / 334.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.401e-05/0.02296, allocations: 42.8 kB / 334.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.02308, allocations: 153.2 kB / 335.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.02332, allocations: 231.1 kB / 335.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02332, allocations: 0 / 335.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002591/0.02358, allocations: 225 kB / 335.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.02359, allocations: 8 kB / 335.5 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.0236, allocations: 4 kB / 335.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.02361, allocations: 4 kB / 335.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.02389, allocations: 131.8 kB / 335.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.02745, allocations: 3.553 MB / 339.2 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.02756, allocations: 39.72 kB / 339.3 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.02758, allocations: 12.38 kB / 339.3 MB, free: 9.234 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 9.623e-05/0.02767, allocations: 140.5 kB / 339.4 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.02771, allocations: 27.91 kB / 339.4 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.02806, allocations: 291.6 kB / 339.7 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.02807, allocations: 0 / 339.7 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.02807, allocations: 4 kB / 339.7 MB, free: 8.766 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.02807, allocations: 0 / 339.7 MB, free: 8.766 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.02831, allocations: 205.8 kB / 339.9 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.02831, allocations: 3.984 kB / 339.9 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.02859, allocations: 111.9 kB / 340 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.02859, allocations: 4 kB / 340 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.02861, allocations: 11.98 kB / 340.1 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.02962, allocations: 3.56 MB / 343.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.02962, allocations: 0 / 343.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.02989, allocations: 362.3 kB / 344 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.02996, allocations: 59.62 kB / 344 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.02998, allocations: 4 kB / 344 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.498e-05/0.03006, allocations: 8 kB / 344 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.0301, allocations: 23.95 kB / 344.1 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.03011, allocations: 8 kB / 344.1 MB, free: 4.227 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.702e-05/0.03017, allocations: 69.64 kB / 344.1 MB, free: 4.152 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03017, allocations: 3.938 kB / 344.1 MB, free: 4.148 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002903/0.03046, allocations: 199.3 kB / 344.3 MB, free: 3.953 MB / 314.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.0002141/0.03067, allocations: 156 kB / 344.5 MB, free: 3.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003474/0.03102, allocations: 232.7 kB / 344.7 MB, free: 3.562 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.03103, allocations: 0 / 344.7 MB, free: 3.562 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.03126, allocations: 141.6 kB / 344.9 MB, free: 3.422 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.03142, allocations: 44.38 kB / 344.9 MB, free: 3.379 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009955/0.03242, allocations: 0.8254 MB / 345.7 MB, free: 2.527 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.948e-05/0.0325, allocations: 152.6 kB / 345.9 MB, free: 2.359 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.03262, allocations: 70.77 kB / 345.9 MB, free: 2.285 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.03272, allocations: 91.36 kB / 346 MB, free: 2.195 MB / 314.7 MB Notification: Performance of SimCode: time 5e-07/0.03272, allocations: 0 / 346 MB, free: 2.195 MB / 314.7 MB Notification: Performance of Templates: time 0.007658/0.04038, allocations: 6.346 MB / 352.4 MB, free: 11.93 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.464874147903174]