Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001023/0.001023, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001431/0.001431, allocations: 166.3 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.055/1.055, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1818/0.1818, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 348.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.1e-05, allocations: 2.312 kB / 348.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.00228/0.002311, allocations: 1.852 MB / 350.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003485, allocations: 0.815 MB / 351.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.003631, allocations: 0 / 351.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.004031, allocations: 39.64 kB / 351.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.004448, allocations: 87.5 kB / 351.7 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.004793, allocations: 63.73 kB / 351.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.005041, allocations: 139.3 kB / 351.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.296e-05/0.005104, allocations: 4 kB / 351.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.005331, allocations: 99.64 kB / 352 MB, free: 6.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.005478, allocations: 75.83 kB / 352.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.005496, allocations: 4 kB / 352.1 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.005638, allocations: 51.89 kB / 352.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.005694, allocations: 27.92 kB / 352.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.005724, allocations: 27.92 kB / 352.2 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.005955, allocations: 143.4 kB / 352.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.005958, allocations: 4 kB / 352.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.00596, allocations: 0 / 352.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.005964, allocations: 0 / 352.4 MB, free: 5.699 MB / 282.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.0003764/0.006341, allocations: 432.2 kB / 352.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.006376, allocations: 12.03 kB / 352.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.006609, allocations: 44.8 kB / 352.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.006742, allocations: 136.4 kB / 353 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.006758, allocations: 12.36 kB / 353 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.006771, allocations: 8.375 kB / 353 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.006933, allocations: 145.9 kB / 353.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.006944, allocations: 3.938 kB / 353.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.006955, allocations: 4 kB / 353.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.006982, allocations: 31.86 kB / 353.2 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.4e-05/0.007036, allocations: 35.97 kB / 353.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.007451, allocations: 0.611 MB / 353.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.007598, allocations: 75.14 kB / 353.9 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.007619, allocations: 23.69 kB / 353.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.007631, allocations: 0 / 353.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.007647, allocations: 37.39 kB / 354 MB, free: 3.961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.007648, allocations: 0 / 354 MB, free: 3.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001431/0.007791, allocations: 81.64 kB / 354 MB, free: 3.875 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.00781, allocations: 51.41 kB / 354.1 MB, free: 3.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.321e-05/0.007874, allocations: 188.6 kB / 354.3 MB, free: 3.613 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.007882, allocations: 29.69 kB / 354.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.007925, allocations: 174.8 kB / 354.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.007937, allocations: 19.8 kB / 354.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.007972, allocations: 39.34 kB / 354.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.209e-05/0.008024, allocations: 0.4923 MB / 355 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.008042, allocations: 11.98 kB / 355 MB, free: 2.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.713e-05/0.008079, allocations: 91.28 kB / 355.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.745e-05/0.008146, allocations: 121.3 kB / 355.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008149, allocations: 8 kB / 355.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001091/0.008258, allocations: 113.4 kB / 355.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.00827, allocations: 4 kB / 355.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.008276, allocations: 7.938 kB / 355.4 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.008287, allocations: 4 kB / 355.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/0.008385, allocations: 36.23 kB / 355.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.00839, allocations: 11.92 kB / 355.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.008432, allocations: 15.89 kB / 355.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.00844, allocations: 4 kB / 355.4 MB, free: 2.332 MB / 282.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.184e-05/0.008491, allocations: 160.6 kB / 355.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.008513, allocations: 11.95 kB / 355.6 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.008621, allocations: 77.97 kB / 355.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.008624, allocations: 7.938 kB / 355.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.008626, allocations: 0 / 355.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.008629, allocations: 0 / 355.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.849e-05/0.008727, allocations: 129.2 kB / 355.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008729, allocations: 0 / 355.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.008804, allocations: 23.98 kB / 355.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.008807, allocations: 4 kB / 355.8 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.008813, allocations: 0 / 355.8 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.008814, allocations: 0 / 355.8 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.008815, allocations: 3.938 kB / 355.8 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.922e-05/0.008905, allocations: 219.8 kB / 356.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.008914, allocations: 7.922 kB / 356.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.008923, allocations: 8 kB / 356.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.863e-05/0.008962, allocations: 4 kB / 356.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.008989, allocations: 15.92 kB / 356.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.008992, allocations: 0 / 356.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.094e-05/0.009013, allocations: 131.2 kB / 356.2 MB, free: 1.484 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009013, allocations: 0 / 356.2 MB, free: 1.484 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.009189, allocations: 27.95 kB / 356.3 MB, free: 1.457 MB / 282.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 0.0001192/0.009308, allocations: 99.25 kB / 356.3 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.49e-05/0.009403, allocations: 63.52 kB / 356.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.009405, allocations: 0 / 356.4 MB, free: 1.281 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.241e-05/0.009427, allocations: 23.67 kB / 356.4 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.009627, allocations: 13.22 kB / 356.4 MB, free: 1.242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.01017, allocations: 253.8 kB / 356.7 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.884e-05/0.0102, allocations: 71.33 kB / 356.8 MB, free: 0.875 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.292e-05/0.01024, allocations: 16.47 kB / 356.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.01029, allocations: 74.2 kB / 356.9 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01029, allocations: 0 / 356.9 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of Templates: time 0.002786/0.01308, allocations: 1.041 MB / 357.9 MB, free: 15.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.386763180140406]