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.0008443/0.0008443, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.002013, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007148/0.0007148, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009016/0.001616, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.125/1.125, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1245/1.249, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.3398/0.3398, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03408/0.3739, allocations: 12.53 MB / 289.3 MB, free: 8.676 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 2.365e-06/2.365e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.404e-05/3.641e-05, allocations: 4.312 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.004565/0.004601, allocations: 1.912 MB / 292.5 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.006346, allocations: 0.8303 MB / 293.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.006452, allocations: 4 kB / 293.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.006733, allocations: 38.72 kB / 293.4 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.00709, allocations: 81.59 kB / 293.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.007354, allocations: 72.36 kB / 293.6 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.007595, allocations: 147.3 kB / 293.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.377e-05/0.007659, allocations: 0 / 293.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.007981, allocations: 103.7 kB / 293.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.00813, allocations: 83.77 kB / 293.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.00815, allocations: 4 kB / 293.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.008283, allocations: 43.98 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.008347, allocations: 27.92 kB / 294 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.008382, allocations: 19.94 kB / 294 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.008606, allocations: 127.5 kB / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.887e-05/0.008625, allocations: 0 / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.008626, allocations: 0 / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.008646, allocations: 0 / 294.1 MB, free: 4.805 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.0005519/0.009198, allocations: 320.8 kB / 294.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.009238, allocations: 16.03 kB / 294.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003034/0.009541, allocations: 125.9 kB / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.009698, allocations: 125.7 kB / 294.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.009711, allocations: 4.375 kB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.009731, allocations: 16.36 kB / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.009968, allocations: 146.8 kB / 294.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.009982, allocations: 7.922 kB / 294.8 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.009996, allocations: 8 kB / 294.9 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.01003, allocations: 7.984 kB / 294.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.665e-05/0.01008, allocations: 39.92 kB / 294.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.0106, allocations: 443 kB / 295.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.01081, allocations: 73.3 kB / 295.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.01084, allocations: 12.84 kB / 295.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.01086, allocations: 4 kB / 295.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.01089, allocations: 38.5 kB / 295.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.01089, allocations: 0 / 295.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001782/0.01107, allocations: 57.62 kB / 295.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.01111, allocations: 55.41 kB / 295.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.01121, allocations: 131.8 kB / 295.7 MB, free: 3.047 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.01123, allocations: 25.7 kB / 295.7 MB, free: 3.016 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.0113, allocations: 120.1 kB / 295.8 MB, free: 2.891 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.01132, allocations: 31.73 kB / 295.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.01137, allocations: 29.7 kB / 295.9 MB, free: 2.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.01147, allocations: 318.8 kB / 296.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.01149, allocations: 12 kB / 296.2 MB, free: 2.492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-05/0.01154, allocations: 75.64 kB / 296.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.666e-05/0.01164, allocations: 90.39 kB / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.01165, allocations: 4 kB / 296.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001404/0.01179, allocations: 97.47 kB / 296.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.01181, allocations: 5.719 kB / 296.5 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.01181, allocations: 4 kB / 296.5 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.01183, allocations: 3.938 kB / 296.5 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.01202, allocations: 47.91 kB / 296.5 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.01202, allocations: 8.25 kB / 296.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.602e-05/0.01207, allocations: 19.88 kB / 296.6 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.01208, allocations: 4 kB / 296.6 MB, free: 2.078 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 8.914e-05/0.01217, allocations: 120.6 kB / 296.7 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.01219, allocations: 7.938 kB / 296.7 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.01232, allocations: 66.48 kB / 296.8 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.01233, allocations: 7.938 kB / 296.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01233, allocations: 4 kB / 296.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01233, allocations: 0 / 296.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.01246, allocations: 97.81 kB / 296.9 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01246, allocations: 0 / 296.9 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.01257, allocations: 27.97 kB / 296.9 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.01258, allocations: 4 kB / 296.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01259, allocations: 0 / 296.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.0126, allocations: 3.938 kB / 296.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.0126, allocations: 7.938 kB / 296.9 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.0126, allocations: 80 / 296.9 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.01275, allocations: 163.5 kB / 297.1 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.01277, allocations: 12 kB / 297.1 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.01281, allocations: 0 / 297.1 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.01285, allocations: 11.92 kB / 297.1 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.01286, allocations: 0 / 297.1 MB, free: 1.504 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.36e-05/0.01288, allocations: 23.22 kB / 297.1 MB, free: 1.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01288, allocations: 4 kB / 297.1 MB, free: 1.477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001551/0.01304, allocations: 23.89 kB / 297.2 MB, free: 1.453 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.0001694/0.01321, allocations: 88.41 kB / 297.2 MB, free: 1.359 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.01332, allocations: 54.95 kB / 297.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.01333, allocations: 0 / 297.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.099e-05/0.01336, allocations: 28.78 kB / 297.3 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.01356, allocations: 15.94 kB / 297.3 MB, free: 1.258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.0151, allocations: 264.2 kB / 297.6 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.996e-05/0.01515, allocations: 71.33 kB / 297.7 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.95e-05/0.01521, allocations: 16.47 kB / 297.7 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.01528, allocations: 55.38 kB / 297.7 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01528, allocations: 0 / 297.7 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of Templates: time 0.003477/0.01876, allocations: 0.9566 MB / 298.7 MB, free: 15.9 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 -emit_protected -ignoreHideResult -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.144137566909194]