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.001385/0.001385, allocations: 80.92 kB / 21.49 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.001154/0.001154, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.2793/0.2793, allocations: 34.25 MB / 296.1 MB, free: 0.6797 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.303e-06/1.303e-06, allocations: 0 / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.489e-05, allocations: 7.922 kB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002118/0.002133, allocations: 1.865 MB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003147, allocations: 0.8262 MB / 328 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.889e-05/0.003206, allocations: 4 kB / 328 MB, free: 4.973 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.003411, allocations: 31.83 kB / 328 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002284/0.003639, allocations: 83.5 kB / 328.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.003855, allocations: 75.61 kB / 328.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.004048, allocations: 147.3 kB / 328.3 MB, free: 4.641 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.004097, allocations: 7.984 kB / 328.3 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.004313, allocations: 87.73 kB / 328.4 MB, free: 4.547 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.00446, allocations: 83.75 kB / 328.5 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.004476, allocations: 4 kB / 328.5 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.004581, allocations: 47.97 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.004639, allocations: 35.84 kB / 328.6 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.004675, allocations: 28.42 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.004875, allocations: 139.5 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.004877, allocations: 0 / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004877, allocations: 0 / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.00488, allocations: 0 / 328.7 MB, free: 4.215 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.0003448/0.005225, allocations: 305.8 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.005256, allocations: 15.97 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.005451, allocations: 44.83 kB / 329.1 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.005567, allocations: 121.7 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.005576, allocations: 8.375 kB / 329.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.005593, allocations: 12.38 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.005779, allocations: 142.8 kB / 329.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.005792, allocations: 3.938 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.005806, allocations: 7.984 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.005835, allocations: 11.98 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.005904, allocations: 43.91 kB / 329.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.006352, allocations: 447 kB / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.006493, allocations: 61.36 kB / 329.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/0.006521, allocations: 12.86 kB / 329.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.006541, allocations: 7.984 kB / 330 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.006563, allocations: 34.5 kB / 330 MB, free: 2.852 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.103e-06/0.006565, allocations: 0 / 330 MB, free: 2.852 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001488/0.006714, allocations: 61.77 kB / 330 MB, free: 2.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.006741, allocations: 55.39 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.006848, allocations: 133.1 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.006861, allocations: 29.7 kB / 330.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.006906, allocations: 120.1 kB / 330.4 MB, free: 2.414 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.006921, allocations: 31.73 kB / 330.4 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.006959, allocations: 29.69 kB / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.007026, allocations: 318.8 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.007042, allocations: 11.98 kB / 330.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.08e-05/0.007083, allocations: 71.64 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.321e-05/0.007156, allocations: 94.41 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.007158, allocations: 0 / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.576e-05/0.007254, allocations: 93.69 kB / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.007266, allocations: 15.97 kB / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007271, allocations: 0 / 331 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.007288, allocations: 7.938 kB / 331 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.007383, allocations: 43.91 kB / 331.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.007388, allocations: 4 kB / 331.1 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.007432, allocations: 11.89 kB / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.00744, allocations: 4 kB / 331.1 MB, free: 1.613 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 7.543e-05/0.007516, allocations: 128.6 kB / 331.2 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.007533, allocations: 12 kB / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.00765, allocations: 70.03 kB / 331.3 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.007654, allocations: 3.938 kB / 331.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.007656, allocations: 0 / 331.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.00766, allocations: 0 / 331.3 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.007768, allocations: 89.83 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.00777, allocations: 0 / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.806e-05/0.007828, allocations: 23.98 kB / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007829, allocations: 0 / 331.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.007835, allocations: 4 kB / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007837, allocations: 0 / 331.4 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.007838, allocations: 4.406 kB / 331.4 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.007939, allocations: 163.4 kB / 331.6 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.007948, allocations: 4 kB / 331.6 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.007959, allocations: 0 / 331.6 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.871e-05/0.007997, allocations: 11.98 kB / 331.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.00804, allocations: 7.938 kB / 331.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.008045, allocations: 4 kB / 331.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.008e-05/0.008065, allocations: 20.83 kB / 331.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008066, allocations: 0 / 331.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001563/0.008222, allocations: 31.95 kB / 331.7 MB, free: 0.9922 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 0.00011/0.008332, allocations: 84.34 kB / 331.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.927e-05/0.008421, allocations: 52.7 kB / 331.8 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.008425, allocations: 4.5 kB / 331.8 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.594e-05/0.008451, allocations: 28.78 kB / 331.8 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.008579, allocations: 8 kB / 331.8 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.009073, allocations: 250.8 kB / 332.1 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.79e-05/0.009111, allocations: 79.27 kB / 332.2 MB, free: 444 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.758e-05/0.009149, allocations: 12.47 kB / 332.2 MB, free: 432 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.009195, allocations: 59.38 kB / 332.2 MB, free: 372 kB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.009196, allocations: 0 / 332.2 MB, free: 372 kB / 298.7 MB Notification: Performance of Templates: time 0.002435/0.01163, allocations: 0.9434 MB / 333.2 MB, free: 15.47 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 -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.047121720854193]