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.001043/0.001043, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001375/0.001375, allocations: 165 kB / 24.56 MB, free: 12 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.105/1.105, allocations: 177.1 MB / 205 MB, free: 5.23 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.2607/0.2607, allocations: 34.25 MB / 295.7 MB, free: 0.7344 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.753e-06/1.753e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.057e-05, allocations: 2.312 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003659/0.00369, allocations: 1.895 MB / 380 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.005978, allocations: 1.348 MB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.006102, allocations: 4 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.006443, allocations: 55.62 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.006809, allocations: 95.42 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006381/0.007447, allocations: 227.1 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.007858, allocations: 413.4 kB / 382.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.007908, allocations: 20.88 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.008243, allocations: 203.2 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.008512, allocations: 151.5 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.008543, allocations: 12 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.009004, allocations: 231.4 kB / 382.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.009187, allocations: 139.4 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.009319, allocations: 123.5 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008032/0.01012, allocations: 0.5214 MB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.01013, allocations: 0 / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01013, allocations: 0 / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.01014, allocations: 0 / 383.5 MB, free: 13.19 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.001015/0.01116, allocations: 0.823 MB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.0112, allocations: 16.02 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.01135, allocations: 96.48 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.01171, allocations: 243.8 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.01174, allocations: 33.38 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/0.01181, allocations: 48.36 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006692/0.01247, allocations: 401.5 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.01249, allocations: 3.938 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.01253, allocations: 16 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.053e-05/0.01261, allocations: 61.27 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.01309, allocations: 299.7 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.01487, allocations: 1.137 MB / 386.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.01533, allocations: 288 kB / 386.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.01546, allocations: 72.05 kB / 387 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.0155, allocations: 8.219 kB / 387 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.01553, allocations: 41.62 kB / 387 MB, free: 9.496 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.704e-06/0.01553, allocations: 0 / 387 MB, free: 9.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005568/0.01609, allocations: 260 kB / 387.3 MB, free: 9.238 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.01612, allocations: 55.41 kB / 387.3 MB, free: 9.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.01635, allocations: 286.7 kB / 387.6 MB, free: 8.871 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.01637, allocations: 29.7 kB / 387.6 MB, free: 8.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.01655, allocations: 339.2 kB / 388 MB, free: 8.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.1e-05/0.01664, allocations: 103.2 kB / 388.1 MB, free: 8.398 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.01675, allocations: 91.3 kB / 388.2 MB, free: 8.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.01691, allocations: 0.504 MB / 388.7 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.01704, allocations: 59.89 kB / 388.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.01726, allocations: 214.7 kB / 388.9 MB, free: 7.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.01765, allocations: 303.7 kB / 389.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.01765, allocations: 0 / 389.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005293/0.01818, allocations: 309.5 kB / 389.5 MB, free: 6.777 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.0182, allocations: 8.062 kB / 389.5 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.01821, allocations: 7.938 kB / 389.5 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.01822, allocations: 8 kB / 389.6 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.01872, allocations: 163.8 kB / 389.7 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.02085, allocations: 5.407 MB / 395.1 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.02097, allocations: 35.78 kB / 395.2 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.021, allocations: 27.92 kB / 395.2 MB, free: 0.9531 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.000126/0.02112, allocations: 176.5 kB / 395.4 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.02117, allocations: 35.8 kB / 395.4 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000493/0.02166, allocations: 372.2 kB / 395.8 MB, free: 372 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.02167, allocations: 11.92 kB / 395.8 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.02167, allocations: 4 kB / 395.8 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.02168, allocations: 0 / 395.8 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.02202, allocations: 360.5 kB / 396.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.02202, allocations: 0 / 396.1 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.02231, allocations: 139.9 kB / 396.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.02231, allocations: 7.938 kB / 396.3 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.02233, allocations: 15.98 kB / 396.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.02397, allocations: 5.399 MB / 401.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.02398, allocations: 0 / 401.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004332/0.02441, allocations: 460.7 kB / 402.1 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/0.0245, allocations: 59.75 kB / 402.2 MB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.02453, allocations: 11.92 kB / 402.2 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.02461, allocations: 12.31 kB / 402.2 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.02468, allocations: 31.89 kB / 402.2 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.0247, allocations: 16 kB / 402.3 MB, free: 9.629 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.02482, allocations: 196 kB / 402.4 MB, free: 9.434 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02482, allocations: 0 / 402.4 MB, free: 9.434 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004582/0.02528, allocations: 187.2 kB / 402.6 MB, free: 9.25 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.0002878/0.02556, allocations: 174.8 kB / 402.8 MB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004938/0.02606, allocations: 288.2 kB / 403.1 MB, free: 8.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.02606, allocations: 4.062 kB / 403.1 MB, free: 8.785 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.02634, allocations: 195.4 kB / 403.3 MB, free: 8.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.02659, allocations: 44.36 kB / 403.3 MB, free: 8.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.02785, allocations: 0.8267 MB / 404.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.988e-05/0.02794, allocations: 164.6 kB / 404.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.02811, allocations: 106.7 kB / 404.4 MB, free: 7.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.773e-05/0.02819, allocations: 36.48 kB / 404.4 MB, free: 7.371 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02819, allocations: 0 / 404.4 MB, free: 7.371 MB / 378.7 MB Notification: Performance of Templates: time 0.008605/0.03679, allocations: 6.557 MB / 411 MB, free: 0.9102 MB / 378.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.7507406999357045]