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.0009136/0.0009136, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009594/0.0009594, allocations: 161 kB / 24.56 MB, free: 12 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 0.9479/0.9479, allocations: 177.2 MB / 205 MB, free: 5.617 MB / 186.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.2495/0.2495, allocations: 32.81 MB / 294.3 MB, free: 1.277 MB / 266.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.245e-06/2.245e-06, allocations: 0 / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.494e-05, allocations: 6.312 kB / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003822/0.003847, allocations: 1.865 MB / 377.9 MB, free: 2.746 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.005442, allocations: 0.8254 MB / 378.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.767e-05/0.00553, allocations: 4 kB / 378.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.005797, allocations: 31.83 kB / 378.8 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.006121, allocations: 83.45 kB / 378.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.006369, allocations: 71.67 kB / 378.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.00658, allocations: 139.3 kB / 379.1 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.006627, allocations: 4 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.006884, allocations: 91.77 kB / 379.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.007065, allocations: 83.77 kB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.007087, allocations: 4 kB / 379.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.007239, allocations: 55.91 kB / 379.3 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.041e-05/0.007319, allocations: 31.84 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.007371, allocations: 27.92 kB / 379.4 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.00764, allocations: 139.5 kB / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.007642, allocations: 0 / 379.5 MB, free: 1.164 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.007643, allocations: 3.938 kB / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.007648, allocations: 0 / 379.5 MB, free: 1.16 MB / 346.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.000563/0.008211, allocations: 432.1 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.008256, allocations: 8.031 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003338/0.00859, allocations: 56.77 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.008765, allocations: 136.4 kB / 380.1 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.008782, allocations: 8.375 kB / 380.1 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.008804, allocations: 8.375 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.009104, allocations: 153.9 kB / 380.3 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.009117, allocations: 3.938 kB / 380.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.009138, allocations: 11.98 kB / 380.3 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.009174, allocations: 11.98 kB / 380.3 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.009299, allocations: 51.91 kB / 380.4 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007847/0.01008, allocations: 0.6379 MB / 381 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.01033, allocations: 71.22 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.01037, allocations: 23.67 kB / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.01039, allocations: 3.938 kB / 381.1 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.01041, allocations: 37.33 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.01041, allocations: 0 / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002359/0.01065, allocations: 77.64 kB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.01068, allocations: 51.41 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.01081, allocations: 192.5 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.01082, allocations: 25.7 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.0109, allocations: 166.8 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.01093, allocations: 31.92 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.01098, allocations: 39.31 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.01113, allocations: 0.4923 MB / 382.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.01117, allocations: 15.92 kB / 382.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.271e-05/0.01125, allocations: 96.83 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.01139, allocations: 121.1 kB / 382.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.01139, allocations: 4 kB / 382.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000192/0.01158, allocations: 117.5 kB / 382.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.0116, allocations: 13.66 kB / 382.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.01161, allocations: 4 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.01162, allocations: 0 / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.01178, allocations: 35.92 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.01179, allocations: 4.391 kB / 382.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.01186, allocations: 23.88 kB / 382.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.01188, allocations: 4 kB / 382.6 MB, free: 13.73 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 9.296e-05/0.01197, allocations: 168.6 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.012, allocations: 15.89 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.01218, allocations: 86.06 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01218, allocations: 0 / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01219, allocations: 0 / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.01219, allocations: 3.984 kB / 382.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.01236, allocations: 148.5 kB / 383 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01237, allocations: 0 / 383 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.01248, allocations: 27.98 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01249, allocations: 4 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.0125, allocations: 11.88 kB / 383.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.0125, allocations: 3.984 kB / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.0125, allocations: 0 / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.01268, allocations: 215.9 kB / 383.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.01269, allocations: 0 / 383.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.01271, allocations: 7.938 kB / 383.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.01279, allocations: 4 kB / 383.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.01283, allocations: 7.984 kB / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.01284, allocations: 0 / 383.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.525e-05/0.0129, allocations: 143.2 kB / 383.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0129, allocations: 4 kB / 383.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002877/0.01319, allocations: 23.95 kB / 383.5 MB, free: 12.8 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.0001319/0.01332, allocations: 115 kB / 383.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.01349, allocations: 63.59 kB / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01349, allocations: 0.5 kB / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.423e-05/0.01354, allocations: 27.62 kB / 383.7 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.01382, allocations: 15.03 kB / 383.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000782/0.0146, allocations: 254.2 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.196e-05/0.01464, allocations: 75.33 kB / 384 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.352e-05/0.01469, allocations: 16.47 kB / 384 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.01473, allocations: 16.5 kB / 384 MB, free: 12.16 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01473, allocations: 0 / 384 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Templates: time 0.003029/0.01776, allocations: 1.021 MB / 385.1 MB, free: 11.18 MB / 362.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 -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.2093148338608444]