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.001014/0.001014, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001167/0.001167, allocations: 163.4 kB / 24.91 MB, free: 8.715 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.01/1.01, allocations: 177 MB / 205.2 MB, free: 5.059 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.2661/0.2661, allocations: 34.86 MB / 296.6 MB, free: 420 kB / 266.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.923e-06/1.923e-06, allocations: 0 / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.003e-05, allocations: 7.406 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003163/0.003193, allocations: 1.911 MB / 327.9 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.004492, allocations: 0.8226 MB / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.00455, allocations: 0 / 328.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.004762, allocations: 39.77 kB / 328.8 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.005012, allocations: 79.5 kB / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.00517, allocations: 71.61 kB / 328.9 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.005338, allocations: 136.2 kB / 329 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.04e-05/0.005389, allocations: 15.97 kB / 329.1 MB, free: 4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.005576, allocations: 91.72 kB / 329.2 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.005715, allocations: 79.77 kB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.005731, allocations: 4 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.005861, allocations: 55.89 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.00592, allocations: 31.91 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.005962, allocations: 27.92 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.006186, allocations: 140.7 kB / 329.5 MB, free: 3.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.006189, allocations: 4 kB / 329.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.00619, allocations: 0 / 329.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.006194, allocations: 0 / 329.5 MB, free: 3.574 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.0004413/0.006635, allocations: 309.8 kB / 329.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.006674, allocations: 8.031 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.006949, allocations: 48.83 kB / 329.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.007104, allocations: 121.7 kB / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.007119, allocations: 8.375 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.007137, allocations: 8.375 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.007373, allocations: 140.9 kB / 330.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.007404, allocations: 3.938 kB / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.007422, allocations: 7.984 kB / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.007451, allocations: 15.98 kB / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.909e-05/0.00752, allocations: 35.92 kB / 330.2 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.007981, allocations: 443 kB / 330.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.008118, allocations: 65.31 kB / 330.7 MB, free: 2.285 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.008142, allocations: 20.84 kB / 330.7 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.008156, allocations: 4 kB / 330.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.008178, allocations: 30.56 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.00818, allocations: 3.984 kB / 330.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001226/0.008302, allocations: 61.56 kB / 330.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.008333, allocations: 51.41 kB / 330.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.008402, allocations: 137.4 kB / 331 MB, free: 1.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.008414, allocations: 33.64 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.008462, allocations: 116.1 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.008479, allocations: 31.72 kB / 331.2 MB, free: 1.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.008514, allocations: 29.72 kB / 331.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.933e-05/0.008594, allocations: 322.8 kB / 331.5 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.008607, allocations: 8 kB / 331.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.442e-05/0.008652, allocations: 71.7 kB / 331.6 MB, free: 1.285 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.603e-05/0.008728, allocations: 94.39 kB / 331.7 MB, free: 1.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.00873, allocations: 4 kB / 331.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001003/0.00883, allocations: 97.47 kB / 331.8 MB, free: 1.059 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.008842, allocations: 4 kB / 331.8 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.008847, allocations: 4 kB / 331.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.008861, allocations: 7.938 kB / 331.8 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.008995, allocations: 48.16 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.008999, allocations: 0 / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.009042, allocations: 19.88 kB / 331.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.00905, allocations: 8 kB / 331.9 MB, free: 0.9688 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 5.847e-05/0.009109, allocations: 120.5 kB / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.009127, allocations: 8 kB / 332 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.926e-05/0.009226, allocations: 70.47 kB / 332.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.009229, allocations: 3.938 kB / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.009233, allocations: 4 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.009236, allocations: 4 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.009344, allocations: 81.83 kB / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.009346, allocations: 0 / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.685e-05/0.009433, allocations: 39.91 kB / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.009435, allocations: 0 / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.009441, allocations: 0 / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.009441, allocations: 0 / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.009442, allocations: 0 / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.471e-05/0.009537, allocations: 163.5 kB / 332.3 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.457e-06/0.009546, allocations: 8 kB / 332.4 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.009556, allocations: 0 / 332.4 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.969e-05/0.009596, allocations: 7.938 kB / 332.4 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.009627, allocations: 11.92 kB / 332.4 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.009631, allocations: 4 kB / 332.4 MB, free: 412 kB / 298.7 MB Notification: Performance of sorting global known variables: time 1.767e-05/0.009649, allocations: 20.83 kB / 332.4 MB, free: 388 kB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009649, allocations: 0 / 332.4 MB, free: 388 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001466/0.009796, allocations: 31.89 kB / 332.4 MB, free: 356 kB / 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.000107/0.009903, allocations: 88.34 kB / 332.5 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.208e-05/0.009985, allocations: 44.78 kB / 332.6 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.009989, allocations: 4 kB / 332.6 MB, free: 208 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.599e-05/0.01001, allocations: 24.78 kB / 332.6 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.01016, allocations: 7.984 kB / 332.6 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.01068, allocations: 259.6 kB / 332.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.062e-05/0.01072, allocations: 71.33 kB / 332.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.094e-05/0.01076, allocations: 12.48 kB / 332.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.01081, allocations: 59.36 kB / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01081, allocations: 0 / 333 MB, free: 15.73 MB / 314.7 MB Notification: Performance of Templates: time 0.002643/0.01345, allocations: 0.9417 MB / 333.9 MB, free: 14.84 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 -s gbode -gbm=radauIIA3 -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: 2.8644479191862047]