Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00107/0.00107, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 157 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.026/1.026, allocations: 177 MB / 205.9 MB, free: 4.418 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.173/0.173, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.935e-05, allocations: 8.109 kB / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002129/0.002148, allocations: 1.847 MB / 381.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00099/0.003138, allocations: 0.8023 MB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.884e-05/0.003207, allocations: 3.938 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.00343, allocations: 35.78 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.003668, allocations: 87.5 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.003829, allocations: 67.67 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.003968, allocations: 143.3 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.004024, allocations: 4 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.004207, allocations: 95.7 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.004334, allocations: 79.77 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.004351, allocations: 4 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.004455, allocations: 51.91 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.004516, allocations: 31.91 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.004552, allocations: 35.86 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.004739, allocations: 139.5 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004741, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.51e-07/0.004742, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.004746, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.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.0004316/0.005178, allocations: 428.2 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.005219, allocations: 8.031 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.005466, allocations: 52.73 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.005598, allocations: 136.4 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.005617, allocations: 12.3 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.005635, allocations: 16.38 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.005825, allocations: 150 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.005838, allocations: 3.938 kB / 384.3 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.005852, allocations: 8 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.005881, allocations: 11.98 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.07e-05/0.005942, allocations: 35.97 kB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.006444, allocations: 0.6266 MB / 384.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.006615, allocations: 67.2 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.006639, allocations: 15.69 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.006654, allocations: 0 / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.006672, allocations: 37.33 kB / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.006672, allocations: 4 kB / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001577/0.00683, allocations: 77.7 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.006854, allocations: 55.39 kB / 385.2 MB, free: 17.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.493e-05/0.006919, allocations: 184.7 kB / 385.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.006934, allocations: 29.7 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.006988, allocations: 174.8 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.007002, allocations: 27.78 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.00704, allocations: 39.34 kB / 385.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.984e-05/0.00711, allocations: 0.4884 MB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.00713, allocations: 11.98 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.036e-05/0.00717, allocations: 90.52 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.508e-05/0.007245, allocations: 125 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007247, allocations: 0 / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001041/0.007351, allocations: 113.4 kB / 386.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.007363, allocations: 4.25 kB / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.00737, allocations: 11.94 kB / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.007383, allocations: 4 kB / 386.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.007472, allocations: 35.92 kB / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.007476, allocations: 4 kB / 386.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/0.007518, allocations: 23.81 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.007526, allocations: 4 kB / 386.5 MB, free: 15.9 MB / 314.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 5.405e-05/0.00758, allocations: 160.6 kB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.007599, allocations: 11.89 kB / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.007706, allocations: 82.05 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007707, allocations: 0 / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.00771, allocations: 0 / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.007714, allocations: 3.984 kB / 386.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.782e-05/0.007812, allocations: 121.2 kB / 386.9 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.007813, allocations: 0 / 386.9 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.007875, allocations: 23.98 kB / 386.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007877, allocations: 4 kB / 386.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.007885, allocations: 8 kB / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.007886, allocations: 4 kB / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.007888, allocations: 3.938 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.299e-05/0.007971, allocations: 211.8 kB / 387.2 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.007982, allocations: 15.88 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.007995, allocations: 7.984 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.008032, allocations: 0 / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.008065, allocations: 11.92 kB / 387.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.008068, allocations: 0 / 387.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.603e-05/0.008094, allocations: 131.2 kB / 387.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008094, allocations: 0 / 387.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.008257, allocations: 27.95 kB / 387.4 MB, free: 15.03 MB / 314.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 8.568e-05/0.008343, allocations: 103.2 kB / 387.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.008444, allocations: 59.52 kB / 387.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.008446, allocations: 0 / 387.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.573e-05/0.008471, allocations: 32.81 kB / 387.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.008658, allocations: 13.02 kB / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.009168, allocations: 240.1 kB / 387.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.598e-05/0.009204, allocations: 75.19 kB / 387.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.048e-05/0.009244, allocations: 16.62 kB / 387.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.009294, allocations: 78.2 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009294, allocations: 0 / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of Templates: time 0.002905/0.0122, allocations: 1.009 MB / 389 MB, free: 13.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.5231890520080924]