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_laminar_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.00141/0.00141, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001544/0.001544, allocations: 169.5 kB / 24.91 MB, free: 9.152 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.123/1.123, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2547/0.2547, allocations: 32.8 MB / 294.6 MB, free: 1.176 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_laminar_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_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.681e-05, allocations: 7.406 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.00251/0.002537, allocations: 1.904 MB / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.003634, allocations: 0.8216 MB / 326 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.003701, allocations: 0 / 326 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.003939, allocations: 39.77 kB / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.004198, allocations: 83.5 kB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.004341, allocations: 71.61 kB / 326.2 MB, free: 6.688 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.004484, allocations: 135.4 kB / 326.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.00453, allocations: 12.59 kB / 326.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.004703, allocations: 91.72 kB / 326.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.004821, allocations: 79.77 kB / 326.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.004836, allocations: 4 kB / 326.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.004952, allocations: 51.91 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.005015, allocations: 35.89 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.005048, allocations: 31.92 kB / 326.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.005241, allocations: 140.5 kB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-06/0.005242, allocations: 4 kB / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005243, allocations: 0 / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.005246, allocations: 0 / 326.8 MB, free: 6.113 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0003411/0.005587, allocations: 305.6 kB / 327.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.005617, allocations: 8.031 kB / 327.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.005818, allocations: 48.83 kB / 327.1 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.005941, allocations: 113.7 kB / 327.3 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.005953, allocations: 16.3 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.005967, allocations: 16.38 kB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.006154, allocations: 140.2 kB / 327.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.006165, allocations: 3.938 kB / 327.4 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.006177, allocations: 4 kB / 327.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.006201, allocations: 11.98 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.567e-05/0.006257, allocations: 35.92 kB / 327.5 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.006674, allocations: 451 kB / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.006813, allocations: 69.3 kB / 328 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.006835, allocations: 12.84 kB / 328 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.006849, allocations: 8 kB / 328 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.006869, allocations: 30.56 kB / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.006871, allocations: 0 / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001223/0.006993, allocations: 61.61 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.007021, allocations: 51.41 kB / 328.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.274e-05/0.007094, allocations: 130.8 kB / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.007107, allocations: 29.7 kB / 328.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.007155, allocations: 124 kB / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.00717, allocations: 27.73 kB / 328.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.007203, allocations: 37.62 kB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.007279, allocations: 318.8 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.007293, allocations: 11.98 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.007336, allocations: 67.72 kB / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.449e-05/0.00742, allocations: 98.39 kB / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007422, allocations: 0 / 329 MB, free: 3.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.496e-05/0.007517, allocations: 93.69 kB / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.007528, allocations: 8.031 kB / 329.1 MB, free: 3.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.007534, allocations: 7.984 kB / 329.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.007549, allocations: 7.938 kB / 329.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.007682, allocations: 47.91 kB / 329.1 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.007686, allocations: 3.984 kB / 329.1 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.938e-05/0.007726, allocations: 15.89 kB / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.007734, allocations: 4 kB / 329.2 MB, free: 3.508 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.084e-05/0.007804, allocations: 124.5 kB / 329.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.007823, allocations: 12 kB / 329.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.118e-05/0.007914, allocations: 62.09 kB / 329.4 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.007916, allocations: 3.938 kB / 329.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.007919, allocations: 4 kB / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.007921, allocations: 0 / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.773e-05/0.008019, allocations: 89.81 kB / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.00802, allocations: 0 / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-05/0.008103, allocations: 35.91 kB / 329.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.008106, allocations: 4 kB / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.008113, allocations: 0 / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.008115, allocations: 0 / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.008116, allocations: 0 / 329.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.692e-05/0.008202, allocations: 159.5 kB / 329.6 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.008211, allocations: 8 kB / 329.7 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.008221, allocations: 0 / 329.7 MB, free: 2.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.008259, allocations: 7.984 kB / 329.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.008287, allocations: 7.938 kB / 329.7 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.008291, allocations: 4 kB / 329.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.646e-05/0.008308, allocations: 19.09 kB / 329.7 MB, free: 2.926 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008308, allocations: 7.938 kB / 329.7 MB, free: 2.918 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.008451, allocations: 31.89 kB / 329.7 MB, free: 2.887 MB / 298.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.906e-05/0.00854, allocations: 88.33 kB / 329.8 MB, free: 2.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.058e-05/0.008621, allocations: 45.77 kB / 329.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.008624, allocations: 8.062 kB / 329.9 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.554e-05/0.008649, allocations: 24.78 kB / 329.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.008784, allocations: 8.312 kB / 329.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.009333, allocations: 263.5 kB / 330.2 MB, free: 2.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.147e-05/0.009375, allocations: 71.33 kB / 330.2 MB, free: 2.328 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.009415, allocations: 12.47 kB / 330.2 MB, free: 2.316 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.009469, allocations: 59.38 kB / 330.3 MB, free: 2.258 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009469, allocations: 0 / 330.3 MB, free: 2.258 MB / 298.7 MB Notification: Performance of Templates: time 0.002592/0.01206, allocations: 0.9362 MB / 331.2 MB, free: 1.371 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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_laminar_DPMFLOW/dp_laminar_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.0969005888327956]