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.001165/0.001165, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001627/0.001627, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 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.01/1.01, allocations: 177.1 MB / 205 MB, free: 5.617 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.255/0.255, allocations: 34.26 MB / 295.7 MB, free: 0.7695 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.583e-06/1.583e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.582e-05, allocations: 2.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002296/0.002321, allocations: 1.865 MB / 379.9 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.003346, allocations: 0.8177 MB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.003404, allocations: 4 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.003531, allocations: 43.7 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.003695, allocations: 75.56 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.00385, allocations: 75.61 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.004021, allocations: 131.4 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.004059, allocations: 4 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.004236, allocations: 99.64 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.004356, allocations: 83.83 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.004375, allocations: 4 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.004488, allocations: 55.89 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.004547, allocations: 27.91 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.004586, allocations: 27.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.004793, allocations: 143.4 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.004796, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004796, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.004801, allocations: 0 / 381.5 MB, free: 15.16 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.0004722/0.005273, allocations: 436.1 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.005309, allocations: 8.031 kB / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.00557, allocations: 56.78 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.005719, allocations: 132.4 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.005734, allocations: 8.375 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.005751, allocations: 8.375 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.006005, allocations: 153.9 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.006016, allocations: 3.938 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.006032, allocations: 11.98 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.006065, allocations: 11.94 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.954e-05/0.006155, allocations: 58.94 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.006782, allocations: 0.6379 MB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.006976, allocations: 79.14 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.314e-05/0.007009, allocations: 19.69 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.007023, allocations: 0 / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.00705, allocations: 41.31 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.007051, allocations: 4 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001856/0.007237, allocations: 77.58 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.007273, allocations: 51.41 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.007373, allocations: 193.5 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.007386, allocations: 29.7 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/0.007754, allocations: 171 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.007771, allocations: 23.8 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.007808, allocations: 35.36 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.00791, allocations: 0.4884 MB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.012e-05/0.00794, allocations: 11.98 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.007999, allocations: 105.1 kB / 384.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.914e-05/0.008098, allocations: 125.3 kB / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.0081, allocations: 0 / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001404/0.008241, allocations: 121.4 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.008254, allocations: 7.938 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.00826, allocations: 4 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.008275, allocations: 0 / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.00837, allocations: 43.97 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.008376, allocations: 3.938 kB / 384.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.00842, allocations: 19.89 kB / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.008428, allocations: 8.25 kB / 384.6 MB, free: 11.71 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 6.892e-05/0.008497, allocations: 160.6 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.008517, allocations: 15.89 kB / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.008648, allocations: 86.02 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.008651, allocations: 0 / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.008654, allocations: 3.938 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.008658, allocations: 4 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.008781, allocations: 148.5 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.008783, allocations: 0 / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.008847, allocations: 27.98 kB / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.008851, allocations: 0 / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.008862, allocations: 7.938 kB / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008863, allocations: 0 / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.008865, allocations: 0 / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.009009, allocations: 223.8 kB / 385.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.009018, allocations: 3.984 kB / 385.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.009033, allocations: 7.938 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.009072, allocations: 4 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.009111, allocations: 7.984 kB / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.009115, allocations: 4 kB / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.779e-05/0.009163, allocations: 143.2 kB / 385.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.009163, allocations: 0 / 385.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001788/0.009342, allocations: 27.95 kB / 385.5 MB, free: 10.78 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.0001006/0.009442, allocations: 91.25 kB / 385.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.009565, allocations: 74.94 kB / 385.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.009567, allocations: 0 / 385.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.792e-05/0.009595, allocations: 23.67 kB / 385.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.009775, allocations: 8 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.01036, allocations: 258.4 kB / 386 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.201e-05/0.01041, allocations: 71.33 kB / 386 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.672e-05/0.01046, allocations: 21 kB / 386 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.0105, allocations: 20.48 kB / 386.1 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.0105, allocations: 7.938 kB / 386.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of Templates: time 0.002998/0.01349, allocations: 1.019 MB / 387.1 MB, free: 9.172 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.1715209148824215]