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.002445/0.002445, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002388/0.002388, allocations: 165.3 kB / 24.27 MB, free: 152 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.571/1.571, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3707/0.3707, allocations: 34.27 MB / 295.3 MB, free: 0.6914 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.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|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.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|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 3.657e-06/3.657e-06, allocations: 3.984 kB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.472e-05, allocations: 2.312 kB / 377.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.00324/0.003265, allocations: 1.837 MB / 379.2 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.004783, allocations: 0.8062 MB / 380 MB, free: 276 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.004835, allocations: 3.938 kB / 380 MB, free: 272 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.005059, allocations: 47.7 kB / 380 MB, free: 224 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.005331, allocations: 75.52 kB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.005536, allocations: 71.66 kB / 380.2 MB, free: 76 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.005749, allocations: 135.5 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.005786, allocations: 7.938 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.006014, allocations: 95.7 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.006178, allocations: 79.83 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.0062, allocations: 8 kB / 380.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.006336, allocations: 51.84 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.006404, allocations: 27.91 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.559e-05/0.00646, allocations: 27.92 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.006752, allocations: 143.5 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006754, allocations: 0 / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006755, allocations: 0 / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.006758, allocations: 0 / 380.7 MB, free: 15.5 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.0006226/0.007381, allocations: 439.8 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.007413, allocations: 8.031 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003415/0.007755, allocations: 60.77 kB / 381.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.007953, allocations: 132.4 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.007966, allocations: 4.375 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.007989, allocations: 12.38 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.008325, allocations: 165 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.008341, allocations: 3.938 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.00836, allocations: 7.984 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.008392, allocations: 11.98 kB / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.008657, allocations: 95.88 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009369/0.009594, allocations: 0.6496 MB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.00989, allocations: 83.14 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.748e-05/0.009977, allocations: 27.67 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.009998, allocations: 4 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.01004, allocations: 41.27 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.01004, allocations: 4 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000352/0.01039, allocations: 97.61 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.01044, allocations: 51.41 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.0106, allocations: 188.6 kB / 382.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.01062, allocations: 33.7 kB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.01074, allocations: 166.8 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.01077, allocations: 27.94 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.01084, allocations: 39.36 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002685/0.01111, allocations: 0.4884 MB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.01119, allocations: 27.98 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.01135, allocations: 105.1 kB / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.01158, allocations: 137.3 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01159, allocations: 4 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002771/0.01186, allocations: 133.4 kB / 383.9 MB, free: 12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.01188, allocations: 7.938 kB / 383.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.01189, allocations: 4 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.0119, allocations: 0 / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.01207, allocations: 44.17 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.01208, allocations: 7.984 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.01216, allocations: 15.89 kB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.01218, allocations: 8 kB / 384 MB, free: 11.91 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 0.0001483/0.01233, allocations: 176.5 kB / 384.2 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.01236, allocations: 15.88 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.01263, allocations: 90.09 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.01263, allocations: 0 / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01263, allocations: 0 / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01263, allocations: 8 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.01285, allocations: 152.5 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01285, allocations: 0 / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.01298, allocations: 27.98 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01298, allocations: 0 / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.01299, allocations: 3.938 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.01299, allocations: 7.938 kB / 384.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.013, allocations: 3.938 kB / 384.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000299/0.0133, allocations: 223.9 kB / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.01331, allocations: 11.95 kB / 384.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.01333, allocations: 7.922 kB / 384.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.01341, allocations: 4 kB / 384.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.01345, allocations: 7.984 kB / 384.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.01346, allocations: 4 kB / 384.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.537e-05/0.01355, allocations: 139 kB / 384.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01356, allocations: 4 kB / 384.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002489/0.0138, allocations: 23.95 kB / 384.9 MB, free: 10.95 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.0001558/0.01396, allocations: 103.2 kB / 385 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.01421, allocations: 79.52 kB / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01422, allocations: 0 / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.187e-05/0.01431, allocations: 39.61 kB / 385.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.01454, allocations: 8 kB / 385.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.01502, allocations: 238.8 kB / 385.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.01513, allocations: 93.42 kB / 385.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.638e-05/0.01522, allocations: 28.41 kB / 385.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.01526, allocations: 12.5 kB / 385.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01526, allocations: 0 / 385.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of Templates: time 0.004153/0.01941, allocations: 0.9411 MB / 386.4 MB, free: 9.398 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.163471365929581]