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.0009776/0.0009776, 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.0011/0.0011, allocations: 169 kB / 24.91 MB, free: 8.723 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.959/0.959, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1291/0.1291, allocations: 32.79 MB / 294.6 MB, free: 15.42 MB / 282.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.313e-06/1.313e-06, allocations: 0 / 323.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.599e-05, allocations: 2.312 kB / 323.3 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002118/0.002134, allocations: 1.859 MB / 325.1 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009948/0.003128, allocations: 0.8178 MB / 325.9 MB, free: 60 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.003183, allocations: 4 kB / 325.9 MB, free: 56 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.003368, allocations: 43.64 kB / 326 MB, free: 12 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.003593, allocations: 83.5 kB / 326.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.003752, allocations: 71.67 kB / 326.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.003886, allocations: 139.4 kB / 326.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.003924, allocations: 7.984 kB / 326.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.004093, allocations: 99.64 kB / 326.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.004203, allocations: 75.83 kB / 326.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.004217, allocations: 4 kB / 326.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.783e-05/0.004315, allocations: 51.86 kB / 326.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.004369, allocations: 31.89 kB / 326.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.004402, allocations: 27.92 kB / 326.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.004582, allocations: 143.5 kB / 326.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.004584, allocations: 0 / 326.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004585, allocations: 0 / 326.7 MB, free: 15.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.975e-06/0.004587, allocations: 0 / 326.7 MB, free: 15.29 MB / 314.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.0003549/0.004942, allocations: 300.5 kB / 327 MB, free: 14.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.004978, allocations: 15.98 kB / 327 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.005175, allocations: 48.77 kB / 327.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.005284, allocations: 125.6 kB / 327.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.005295, allocations: 8.359 kB / 327.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.005312, allocations: 16.38 kB / 327.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.005482, allocations: 144.8 kB / 327.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.00549, allocations: 3.938 kB / 327.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.005503, allocations: 8 kB / 327.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.005525, allocations: 4 kB / 327.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.265e-05/0.005588, allocations: 42.75 kB / 327.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.005992, allocations: 450.8 kB / 327.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.006123, allocations: 65.34 kB / 327.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.006143, allocations: 12.86 kB / 327.9 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.006154, allocations: 0 / 327.9 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.006174, allocations: 34.56 kB / 328 MB, free: 13.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 7.61e-07/0.006174, allocations: 0 / 328 MB, free: 13.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.000115/0.006289, allocations: 65.55 kB / 328 MB, free: 13.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.006318, allocations: 51.41 kB / 328.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.006384, allocations: 130.8 kB / 328.2 MB, free: 13.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.006395, allocations: 33.7 kB / 328.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.006437, allocations: 124 kB / 328.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.006451, allocations: 27.78 kB / 328.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.006482, allocations: 25.7 kB / 328.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.624e-05/0.006559, allocations: 318.8 kB / 328.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.006574, allocations: 11.98 kB / 328.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.325e-05/0.006617, allocations: 75.64 kB / 328.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.006759, allocations: 90.47 kB / 328.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006762, allocations: 0 / 328.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 8.801e-05/0.00685, allocations: 97.41 kB / 329 MB, free: 12.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.006862, allocations: 12.23 kB / 329 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.006867, allocations: 4 kB / 329 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.006881, allocations: 11.92 kB / 329 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.438e-05/0.006966, allocations: 35.98 kB / 329 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.006971, allocations: 7.938 kB / 329.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.007009, allocations: 15.89 kB / 329.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.007017, allocations: 7.984 kB / 329.1 MB, free: 12.68 MB / 314.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 5.51e-05/0.007072, allocations: 112.7 kB / 329.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.007089, allocations: 12 kB / 329.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.95e-05/0.007179, allocations: 74.02 kB / 329.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.007182, allocations: 7.938 kB / 329.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.007184, allocations: 0 / 329.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.007186, allocations: 0 / 329.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.274e-05/0.007279, allocations: 89.83 kB / 329.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.00728, allocations: 0 / 329.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.224e-05/0.007332, allocations: 27.92 kB / 329.4 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.007335, allocations: 0 / 329.4 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.00734, allocations: 0 / 329.4 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.00734, allocations: 4 kB / 329.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.007341, allocations: 4 kB / 329.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.897e-05/0.00742, allocations: 159.4 kB / 329.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.007429, allocations: 11.89 kB / 329.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.007439, allocations: 0 / 329.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.253e-05/0.007481, allocations: 7.984 kB / 329.6 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.007513, allocations: 7.938 kB / 329.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.007517, allocations: 7.984 kB / 329.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.645e-05/0.007533, allocations: 16.23 kB / 329.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007533, allocations: 0 / 329.6 MB, free: 12.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001465/0.00768, allocations: 24 kB / 329.6 MB, free: 12.07 MB / 314.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 9.279e-05/0.007772, allocations: 88.42 kB / 329.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.977e-05/0.007852, allocations: 53.27 kB / 329.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.007856, allocations: 0 / 329.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.292e-05/0.007879, allocations: 25.48 kB / 329.8 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.008008, allocations: 12 kB / 329.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.008496, allocations: 258.2 kB / 330.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.706e-05/0.008533, allocations: 71.33 kB / 330.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.025e-05/0.008573, allocations: 20.41 kB / 330.1 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.00862, allocations: 59.38 kB / 330.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.00862, allocations: 0 / 330.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of Templates: time 0.002557/0.01118, allocations: 0.9502 MB / 331.2 MB, free: 10.53 MB / 314.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 -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.1819246863014996]