Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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.001042/0.001042, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001038/0.001038, allocations: 169.5 kB / 24.99 MB, free: 8.789 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 1.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2584/0.2584, allocations: 32.81 MB / 294.6 MB, free: 1.285 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.855e-05/1.999e-05, allocations: 2.312 kB / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.002382/0.002402, allocations: 1.896 MB / 377.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002737/0.005139, allocations: 2.866 MB / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.005199, allocations: 4 kB / 380.8 MB, free: 180 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.005409, allocations: 43.75 kB / 380.8 MB, free: 136 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002393/0.005648, allocations: 87.38 kB / 380.9 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008807/0.006529, allocations: 0.7392 MB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.006738, allocations: 250.5 kB / 381.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.006784, allocations: 12.59 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.006969, allocations: 139.5 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.007086, allocations: 103.6 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.007105, allocations: 8 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006335/0.007738, allocations: 0.6118 MB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.00781, allocations: 75.62 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.007872, allocations: 75.72 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000715/0.008587, allocations: 0.7863 MB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.008589, allocations: 0 / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.00859, allocations: 0 / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.008594, allocations: 0 / 383.7 MB, free: 13.25 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0006384/0.009232, allocations: 0.7133 MB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.009264, allocations: 8.031 kB / 384.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.974e-05/0.009344, allocations: 60.69 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.009761, allocations: 180.2 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.009777, allocations: 20.78 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.009806, allocations: 31.98 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.01015, allocations: 292.7 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.01016, allocations: 0 / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.01018, allocations: 12 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/0.01023, allocations: 44.97 kB / 385.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.01051, allocations: 249.8 kB / 385.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.01157, allocations: 0.9543 MB / 386.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.01186, allocations: 175 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.01192, allocations: 47.66 kB / 386.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.01195, allocations: 8 kB / 386.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.01198, allocations: 37.39 kB / 386.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.996e-06/0.01198, allocations: 4 kB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004704/0.01245, allocations: 214.6 kB / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.0125, allocations: 59.34 kB / 386.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.01262, allocations: 201.5 kB / 387 MB, free: 9.777 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.01264, allocations: 29.7 kB / 387 MB, free: 9.742 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.01273, allocations: 246.8 kB / 387.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/0.01279, allocations: 95.61 kB / 387.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-05/0.01287, allocations: 83.3 kB / 387.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.01299, allocations: 0.4962 MB / 387.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.362e-05/0.01306, allocations: 43.83 kB / 388 MB, free: 8.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.01319, allocations: 157.7 kB / 388.1 MB, free: 8.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.01342, allocations: 224.2 kB / 388.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.01342, allocations: 0 / 388.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003128/0.01374, allocations: 233.3 kB / 388.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.01376, allocations: 8 kB / 388.6 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01376, allocations: 0 / 388.6 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.01379, allocations: 7.984 kB / 388.6 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.01417, allocations: 140.1 kB / 388.7 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.01583, allocations: 3.585 MB / 392.3 MB, free: 4.203 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.01601, allocations: 31.77 kB / 392.3 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.01604, allocations: 16 kB / 392.4 MB, free: 4.156 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001856/0.01623, allocations: 180.7 kB / 392.5 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.01627, allocations: 23.91 kB / 392.6 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/0.01668, allocations: 267.1 kB / 392.8 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01668, allocations: 0 / 392.8 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.01669, allocations: 4 kB / 392.8 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.01669, allocations: 3.984 kB / 392.8 MB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.01693, allocations: 256.3 kB / 393.1 MB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.01694, allocations: 4 kB / 393.1 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.01721, allocations: 115.9 kB / 393.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.01721, allocations: 0 / 393.2 MB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.01723, allocations: 15.98 kB / 393.2 MB, free: 3.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009967/0.01822, allocations: 3.573 MB / 396.8 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01823, allocations: 3.938 kB / 396.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.01853, allocations: 343.7 kB / 397.1 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/0.01855, allocations: 19.83 kB / 397.1 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.01857, allocations: 12.25 kB / 397.2 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.01868, allocations: 8 kB / 397.2 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.01874, allocations: 27.89 kB / 397.2 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.01875, allocations: 8 kB / 397.2 MB, free: 15.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.322e-05/0.0188, allocations: 139.2 kB / 397.3 MB, free: 15 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0188, allocations: 0 / 397.3 MB, free: 15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005279/0.01933, allocations: 250.7 kB / 397.6 MB, free: 14.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005055/0.01984, allocations: 385.9 kB / 398 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000436/0.02027, allocations: 208 kB / 398.2 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02027, allocations: 0 / 398.2 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.02046, allocations: 152.6 kB / 398.3 MB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.02068, allocations: 23.98 kB / 398.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009897/0.02167, allocations: 0.5244 MB / 398.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.3e-05/0.02173, allocations: 112.3 kB / 399 MB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.02189, allocations: 89.72 kB / 399.1 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.02195, allocations: 36.48 kB / 399.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02195, allocations: 0 / 399.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of Templates: time 0.007928/0.02987, allocations: 6.214 MB / 405.3 MB, free: 7.016 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_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.6403465350158513]