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.001135/0.001135, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00166/0.00166, allocations: 166.2 kB / 24.99 MB, free: 8.355 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.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2697/0.2697, allocations: 34.26 MB / 296 MB, free: 0.7852 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.473e-06/1.473e-06, allocations: 0 / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.172e-05, allocations: 5.828 kB / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002188/0.00221, allocations: 1.865 MB / 379.9 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009197/0.003129, allocations: 0.8177 MB / 380.7 MB, free: 252 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.003182, allocations: 0 / 380.7 MB, free: 252 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.003356, allocations: 39.77 kB / 380.8 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.003557, allocations: 79.5 kB / 380.8 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.003707, allocations: 71.61 kB / 380.9 MB, free: 60 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.003854, allocations: 135.4 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.003891, allocations: 7.984 kB / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004158/0.004307, allocations: 95.72 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.004417, allocations: 83.75 kB / 381.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.004434, allocations: 4 kB / 381.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.118e-05/0.004525, allocations: 51.91 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.004587, allocations: 27.91 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.004625, allocations: 27.92 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.004823, allocations: 147.4 kB / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.004825, allocations: 0 / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004826, allocations: 0 / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.00483, allocations: 0 / 381.5 MB, free: 15.49 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.0004096/0.00524, allocations: 436.1 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.005273, allocations: 8.031 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.005521, allocations: 48.78 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.005656, allocations: 136.4 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.005669, allocations: 8.375 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.005687, allocations: 12.36 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.005902, allocations: 149.9 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.005911, allocations: 3.938 kB / 382.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.005926, allocations: 11.98 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/0.005955, allocations: 8 kB / 382.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.357e-05/0.006048, allocations: 62.94 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.006596, allocations: 0.634 MB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.006773, allocations: 79.14 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.006805, allocations: 15.69 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.006819, allocations: 11.98 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.006841, allocations: 37.33 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.006842, allocations: 3.938 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001753/0.007017, allocations: 77.58 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.007045, allocations: 51.41 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.871e-05/0.007134, allocations: 189.8 kB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.007144, allocations: 25.7 kB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.007208, allocations: 171 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.007222, allocations: 23.8 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.007259, allocations: 39.36 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.007381, allocations: 0.4923 MB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.707e-05/0.007408, allocations: 12 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.698e-05/0.007475, allocations: 101.1 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.007576, allocations: 125.3 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.007578, allocations: 4 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001339/0.007712, allocations: 113.4 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.007728, allocations: 11.94 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.007734, allocations: 4 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.007747, allocations: 3.938 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.886e-05/0.007846, allocations: 39.97 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.007852, allocations: 8.25 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.007897, allocations: 15.89 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.007906, allocations: 4 kB / 384.6 MB, free: 12.05 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 7.317e-05/0.007979, allocations: 168.5 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.008001, allocations: 15.89 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.008143, allocations: 78.09 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.008144, allocations: 0 / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.008148, allocations: 0 / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008151, allocations: 3.938 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.008274, allocations: 156.5 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.008276, allocations: 0 / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.366e-05/0.008339, allocations: 23.98 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.008342, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.008351, allocations: 7.938 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.008353, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.008354, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.008476, allocations: 223.9 kB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.008483, allocations: 0 / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.008497, allocations: 11.88 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.095e-05/0.008538, allocations: 8 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.008573, allocations: 11.92 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.008577, allocations: 0 / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.678e-05/0.008624, allocations: 145.9 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008624, allocations: 0 / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000172/0.008796, allocations: 23.95 kB / 385.5 MB, free: 11.11 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.0001088/0.008905, allocations: 95.25 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.009026, allocations: 71.53 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.009027, allocations: 0 / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.934e-05/0.009057, allocations: 23.67 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.009241, allocations: 8 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.009866, allocations: 258.7 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.407e-05/0.00991, allocations: 71.33 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.875e-05/0.009968, allocations: 24.44 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.01, allocations: 20.5 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01, allocations: 0 / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of Templates: time 0.002706/0.01271, allocations: 0.9246 MB / 387 MB, free: 9.605 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.2729824441485107]