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.001474/0.001474, allocations: 81.88 kB / 21.42 MB, free: 3.074 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.001729/0.001729, allocations: 173.4 kB / 24.82 MB, free: 8.934 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.096/1.096, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.3921/0.3921, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 179] 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 2.094e-06/2.094e-06, allocations: 0 / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.847e-05, allocations: 6.312 kB / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002425/0.002443, allocations: 1.855 MB / 380.4 MB, free: 500 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.003578, allocations: 0.8138 MB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.003648, allocations: 4 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.003865, allocations: 39.73 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.004106, allocations: 79.5 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.004285, allocations: 75.61 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.00444, allocations: 131.4 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.004479, allocations: 4 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.00466, allocations: 95.7 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.004783, allocations: 83.81 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.004799, allocations: 8 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.004907, allocations: 55.84 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.004971, allocations: 27.91 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.005011, allocations: 27.92 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.005234, allocations: 139.5 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.005236, allocations: 0 / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005237, allocations: 0 / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005242, allocations: 0 / 382 MB, free: 14.91 MB / 362.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.0004494/0.005691, allocations: 436.1 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.00574, allocations: 12.02 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.005959, allocations: 48.8 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.006098, allocations: 132.4 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.006113, allocations: 16.36 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.006125, allocations: 4.375 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.00631, allocations: 145.8 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.006318, allocations: 7.938 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.006329, allocations: 4 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.006353, allocations: 15.92 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.169e-05/0.006415, allocations: 46.94 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.006952, allocations: 0.6111 MB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.007114, allocations: 71.2 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.007138, allocations: 11.69 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.007156, allocations: 3.984 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.007184, allocations: 45.33 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.007184, allocations: 4 kB / 383.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001399/0.007324, allocations: 69.72 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.007354, allocations: 55.41 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.235e-05/0.007446, allocations: 189.8 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.007461, allocations: 25.7 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.007531, allocations: 166.8 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.007545, allocations: 23.8 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.007588, allocations: 43.34 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.007715, allocations: 0.4884 MB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.007732, allocations: 8 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.007794, allocations: 97.09 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.103e-05/0.007885, allocations: 121.3 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.007887, allocations: 0 / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001203/0.008007, allocations: 121.4 kB / 384.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.008021, allocations: 8 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.008027, allocations: 3.938 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.008042, allocations: 4 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.008129, allocations: 39.91 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.008134, allocations: 4 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.301e-05/0.008177, allocations: 15.89 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.008185, allocations: 12.25 kB / 385 MB, free: 11.55 MB / 362.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.514e-05/0.00827, allocations: 160.5 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.008287, allocations: 11.95 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.008409, allocations: 78.03 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008411, allocations: 3.938 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.008414, allocations: 0 / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.008419, allocations: 0 / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.008546, allocations: 129.1 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.008548, allocations: 0 / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.008606, allocations: 35.97 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008608, allocations: 0 / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.008613, allocations: 0 / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.008616, allocations: 3.938 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.008618, allocations: 3.938 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.008738, allocations: 215.9 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.008746, allocations: 4 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.008756, allocations: 4 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.669e-05/0.008793, allocations: 4 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.008826, allocations: 7.922 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.008831, allocations: 8 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.194e-05/0.008883, allocations: 139.2 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008883, allocations: 0 / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.009058, allocations: 23.95 kB / 385.8 MB, free: 10.66 MB / 362.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.0001026/0.009161, allocations: 107.2 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.009263, allocations: 55.72 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.009264, allocations: 0 / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.94e-05/0.009293, allocations: 27.61 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.009461, allocations: 11 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.01, allocations: 254.5 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.612e-05/0.01006, allocations: 71.33 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.0101, allocations: 9.031 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.01016, allocations: 78.2 kB / 386.4 MB, free: 10 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01016, allocations: 4 kB / 386.5 MB, free: 9.996 MB / 362.7 MB Notification: Performance of Templates: time 0.003047/0.01321, allocations: 1.017 MB / 387.5 MB, free: 9.02 MB / 362.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 -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: 3.416672606021166]