Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009583/0.0009583, allocations: 80.8 kB / 21.5 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.0009849/0.0009849, allocations: 170.3 kB / 24.91 MB, free: 9.195 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.9621/0.9621, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2352/0.2352, allocations: 34.27 MB / 296.1 MB, free: 0.6641 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.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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 325.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.929e-05, allocations: 2.312 kB / 325.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002752/0.002771, allocations: 1.902 MB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.004022, allocations: 0.8262 MB / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.244e-05/0.004084, allocations: 4 kB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.004283, allocations: 39.69 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.004531, allocations: 79.58 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.004701, allocations: 67.67 kB / 328.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.004865, allocations: 147.3 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.004905, allocations: 7.984 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.005081, allocations: 87.73 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.005206, allocations: 87.73 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.00522, allocations: 8 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.005339, allocations: 43.98 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.005393, allocations: 35.78 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.005431, allocations: 28.42 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.005632, allocations: 139.5 kB / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.005634, allocations: 0 / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005635, allocations: 0 / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.996e-06/0.005638, allocations: 0 / 328.8 MB, free: 4.078 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.000345/0.005983, allocations: 305.8 kB / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.006013, allocations: 12.03 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.006239, allocations: 44.83 kB / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.00637, allocations: 125.6 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.006383, allocations: 8.375 kB / 329.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.006398, allocations: 12.38 kB / 329.3 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.006586, allocations: 142.9 kB / 329.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.006595, allocations: 3.938 kB / 329.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.006608, allocations: 7.984 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.006638, allocations: 19.94 kB / 329.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.006701, allocations: 35.97 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.007153, allocations: 442.9 kB / 330 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.0073, allocations: 65.36 kB / 330 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.007327, allocations: 12.86 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.007338, allocations: 4 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.007357, allocations: 30.56 kB / 330.1 MB, free: 2.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.007358, allocations: 0 / 330.1 MB, free: 2.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001294/0.007488, allocations: 73.69 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.007514, allocations: 51.41 kB / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/0.007584, allocations: 130.6 kB / 330.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.007597, allocations: 29.7 kB / 330.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.007647, allocations: 116.1 kB / 330.5 MB, free: 2.285 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.007665, allocations: 31.73 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.007707, allocations: 29.69 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.007782, allocations: 326.8 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.007801, allocations: 11.98 kB / 330.8 MB, free: 1.879 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.936e-05/0.00785, allocations: 68.42 kB / 330.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.628e-05/0.007937, allocations: 90.41 kB / 331 MB, free: 1.668 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.007939, allocations: 4 kB / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001185/0.008058, allocations: 97.41 kB / 331.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.008071, allocations: 11.98 kB / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.008076, allocations: 0 / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.008089, allocations: 7.938 kB / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.008234, allocations: 40.22 kB / 331.2 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.008239, allocations: 8 kB / 331.2 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/0.008298, allocations: 15.89 kB / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.008306, allocations: 4 kB / 331.2 MB, free: 1.477 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 6.725e-05/0.008374, allocations: 128.5 kB / 331.3 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.008397, allocations: 7.984 kB / 331.3 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.008498, allocations: 70.44 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.008501, allocations: 3.938 kB / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.008502, allocations: 0 / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.008505, allocations: 0 / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.008626, allocations: 89.83 kB / 331.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.008628, allocations: 4 kB / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.15e-05/0.00872, allocations: 31.97 kB / 331.5 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.008722, allocations: 0 / 331.5 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.008728, allocations: 4 kB / 331.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.008729, allocations: 0 / 331.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.00873, allocations: 0 / 331.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.77e-05/0.008828, allocations: 159.5 kB / 331.7 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-06/0.008834, allocations: 3.938 kB / 331.7 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.008848, allocations: 12 kB / 331.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.579e-05/0.008904, allocations: 3.984 kB / 331.7 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.008931, allocations: 11.92 kB / 331.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.008935, allocations: 0 / 331.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.101e-05/0.008956, allocations: 23.59 kB / 331.7 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008956, allocations: 0 / 331.7 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.009172, allocations: 31.88 kB / 331.8 MB, free: 0.8477 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 9.174e-05/0.009264, allocations: 84.42 kB / 331.8 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.226e-05/0.009356, allocations: 59.03 kB / 331.9 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.00936, allocations: 0 / 331.9 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.77e-05/0.009387, allocations: 20.84 kB / 331.9 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.009541, allocations: 8 kB / 331.9 MB, free: 0.668 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.01008, allocations: 255.3 kB / 332.2 MB, free: 400 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.391e-05/0.01012, allocations: 71.33 kB / 332.2 MB, free: 308 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.579e-05/0.01018, allocations: 20.47 kB / 332.3 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.01023, allocations: 59.38 kB / 332.3 MB, free: 228 kB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01023, allocations: 0 / 332.3 MB, free: 228 kB / 298.7 MB Notification: Performance of Templates: time 0.0028/0.01303, allocations: 0.9474 MB / 333.3 MB, free: 15.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.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.1.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: 2.918645359110087]